Find a signed attribute in si by NID, searching after lastpos.
Synopsis
Declared in <openssl/cms.h>
int
CMS_signed_get_attr_by_NID(
CMS_SignerInfo const* si,
int nid,
int lastpos);
Return Value
Attribute index on success, or ‐1 if not found / on error.
Parameters
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. |
Created with MrDocs