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

Synopsis

Declared in <openssl/pkcs7.h>

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

Return Value

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

Parameters

Name

Description

si

Signer info whose unauthenticated attributes are searched.

nid

Attribute type NID to look up.

Created with MrDocs