CMS_unsigned_add1_attr

Append a copy of an X509_ATTRIBUTE to a CMS SignerInfo's unsigned attributes.

Synopsis

Declared in <openssl/cms.h>

int
CMS_unsigned_add1_attr(
    CMS_SignerInfo* si,
    X509_ATTRIBUTE* attr);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
siSignerInfo whose unsignedAttrs set is extended.
attrAttribute to copy; must not be NULL.