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_get_octet_string - return octet string from a PKCS#7 envelopedData structure

Description

PKCS7_get_octet_string() returns a pointer to an ASN1 octet string from a PKCS#7 envelopedData structure
       or NULL if the structure cannot be parsed.

Name

       PKCS7_get_octet_string - return octet string from a PKCS#7 envelopedData structure

Notes

       As the 0 implies, PKCS7_get_octet_string() returns internal pointers which should not be freed by the
       caller.

Return Values

PKCS7_get_octet_string() returns an ASN1_OCTET_STRING pointer.

See Also

PKCS7_type_is_data(3)

Synopsis

        #include <openssl/pkcs7.h>

        ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);