[#CMS_signed_get_attr_by_NID] = CMS_signed_get_attr_by_NID :mrdocs: Find a signed attribute in `si` by NID, searching after `lastpos.` == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_signed_get_attr_by_NID( xref:CMS_SignerInfo.adoc[CMS_SignerInfo] const* si, int nid, int lastpos); ---- == Return Value Attribute index on success, or ‐1 if not found / on error. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#