[#CMS_unsigned_get_attr_by_NID] = CMS_unsigned_get_attr_by_NID :mrdocs: Find an unsigned attribute by NID in a CMS SignerInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_unsigned_get_attr_by_NID( xref:CMS_SignerInfo.adoc[CMS_SignerInfo] const* si, int nid, int lastpos); ---- == Return Value Attribute index, or ‐1 if not found. == Parameters [cols="1,4"] |=== | Name| Description | *si* | SignerInfo whose unsignedAttrs are searched. | *nid* | Attribute type NID to match. | *lastpos* | Index after which to continue searching (‐1 to start from the beginning). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#