PKCS7_digest_from_attributes

Extract the message-digest OCTET STRING from a set of authenticatedAttributes.

Synopsis

Declared in <openssl/pkcs7.h>

ASN1_OCTET_STRING*
PKCS7_digest_from_attributes(stack_st_X509_ATTRIBUTE* sk);

Return Value

Pointer to the digest octets within sk, or NULL if absent; do not free.

Parameters

NameDescription
skAttribute stack from a PKCS7_SIGNER_INFO.