CMS_unsigned_get_attr

Return the unsigned attribute at an index in a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

X509_ATTRIBUTE*
CMS_unsigned_get_attr(
    CMS_SignerInfo const* si,
    int loc);

Return Value

Internal X509_ATTRIBUTE pointer (do not free), or NULL on error.

Parameters

NameDescription
siSignerInfo whose unsignedAttrs are accessed.
locZero-based index in the range [0, CMS_unsigned_get_attr_count(si) - 1].