CMS_signed_add1_attr

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

Synopsis

Declared in <openssl/cms.h>

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

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
siSignerInfo whose signedAttrs set is extended.
attrAttribute to duplicate and append.