[#CMS_signed_get0_data_by_OBJ] = CMS_signed_get0_data_by_OBJ :mrdocs: Return the first matching signed‐attribute value of a given ASN.1 type. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* CMS_signed_get0_data_by_OBJ( xref:CMS_SignerInfo.adoc[CMS_SignerInfo] const* si, xref:ASN1_OBJECT.adoc[ASN1_OBJECT] const* oid, int lastpos, int type); ---- == Return Value Pointer to the attribute value data, or NULL if not found / type mismatch. == Parameters [cols="1,4"] |=== | Name| Description | *si* | SignerInfo whose signedAttrs are searched. | *oid* | Attribute type OID to match. | *lastpos* | Index after which to continue searching (‐1 to start from the beginning). | *type* | Expected ASN.1 type of the attribute value (for example V_ASN1_OCTET_STRING). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#