[#CMS_signed_add1_attr_by_OBJ] = CMS_signed_add1_attr_by_OBJ :mrdocs: Append a signed attribute identified by ASN.1 object to a CMS SignerInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_signed_add1_attr_by_OBJ( xref:CMS_SignerInfo.adoc[CMS_SignerInfo]* si, xref:ASN1_OBJECT.adoc[ASN1_OBJECT] const* obj, int type, void const* bytes, int len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *si* | SignerInfo whose signedAttrs set is extended. | *obj* | Attribute type OID. | *type* | ASN.1 string type of `bytes` (for example V_ASN1_OCTET_STRING). | *bytes* | Attribute value bytes to copy into the new X509_ATTRIBUTE. | *len* | Length of `bytes` in octets. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#