PKCS7_get_octet_string

Return an ASN.1 octet string from a PKCS#7 structure.

Synopsis

Declared in <openssl/pkcs7.h>

ASN1_OCTET_STRING*
PKCS7_get_octet_string(PKCS7* p7);

Return Value

Pointer to an internal ASN1_OCTET_STRING, or NULL if the structure cannot be parsed. The returned pointer must not be freed by the caller.

Parameters

NameDescription
p7PKCS#7 object to query.