Return the unsigned attribute at an index in a CMS SignerInfo.
Declared in <openssl/cms.h>
X509_ATTRIBUTE*
CMS_unsigned_get_attr(
CMS_SignerInfo const* si,
int loc);
Internal X509_ATTRIBUTE pointer (do not free), or NULL on error.
| Name | Description |
|---|---|
| si | SignerInfo whose unsignedAttrs are accessed. |
| loc | Zero-based index in the range [0, CMS_unsigned_get_attr_count(si) - 1]. |