logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PKCS7_type_is_other - determine content type of PKCS#7 envelopedData structure

Description

PKCS7_type_is_other() returns the whether the content type of a PKCS#7 envelopedData structure is one of
       the following content types:

       NID_pkcs7_data NID_pkcs7_signed NID_pkcs7_enveloped NID_pkcs7_signedAndEnveloped NID_pkcs7_digest
       NID_pkcs7_encrypted

Name

       PKCS7_type_is_other - determine content type of PKCS#7 envelopedData structure

Return Values

PKCS7_type_is_other() returns either 0 if the content type is matched or 1 otherwise.

See Also

PKCS7_type_is_data(3), PKCS7_get_octet_string(3)

Synopsis

        #include <openssl/pkcs7.h>

        int PKCS7_type_is_other(PKCS7 *p7);