Sponsor:

Your company here, and a link to your site. Click to find out more.

PKCS7_get_octet_string.3ossl - Man Page

return octet string from a PKCS#7 envelopedData structure

Synopsis

 #include <openssl/pkcs7.h>

 ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);

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.

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)

Referenced By

ossl-guide-migration.7ossl(7), PKCS7_type_is_other.3ossl(3).

2024-04-04 3.2.1 OpenSSL