[#CMS_unsigned_add1_attr_by_NID] = CMS_unsigned_add1_attr_by_NID :mrdocs: Append an unsigned attribute identified by NID to a CMS SignerInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_unsigned_add1_attr_by_NID( xref:CMS_SignerInfo.adoc[CMS_SignerInfo]* si, int nid, 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 unsignedAttrs set is extended. | *nid* | Attribute type NID (for example NID_pkcs9_signingTime). | *type* | ASN.1 string type for `bytes` (for example V_ASN1_OCTET_STRING). | *bytes* | Attribute value bytes, or NULL when `len` is 0. | *len* | Length of `bytes` in octets. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#