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

Name

Description

si

SignerInfo whose unsignedAttrs set is extended.

attr

Attribute to copy; must not be NULL.

Created with MrDocs