Return the signed attribute at index loc from a CMS SignerInfo.
Declared in <openssl/cms.h>
X509_ATTRIBUTE*
CMS_signed_get_attr(
CMS_SignerInfo const* si,
int loc);
Internal X509_ATTRIBUTE pointer (do not free), or NULL on error.
| Name | Description |
|---|---|
| si | SignerInfo whose signedAttrs set is queried. |
| loc | Zero-based attribute index (0 .. CMS_signed_get_attr_count() - 1). |