PKCS7_get_signed_attribute

Return a signed attribute of type nid from a PKCS#7 signer info.

Synopsis

Declared in <openssl/pkcs7.h>

ASN1_TYPE*
PKCS7_get_signed_attribute(
    PKCS7_SIGNER_INFO const* si,
    int nid);

Return Value

Pointer to the attribute value, or NULL if not present.

Parameters

NameDescription
siSigner info to search.
nidAttribute type NID to look up.