Find a signed attribute in si by NID, searching after lastpos.
Declared in <openssl/cms.h>
int
CMS_signed_get_attr_by_NID(
CMS_SignerInfo const* si,
int nid,
int lastpos);
Attribute index on success, or -1 if not found / on error.
| Name | Description |
|---|---|
| si | SignerInfo whose signedAttrs are searched. |
| nid | NID of the attribute OID to locate. |
| lastpos | Index to search after, or -1 to start from the beginning. |