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

Name

Description

si

SignerInfo whose signedAttrs set is extended.

attr

Attribute to duplicate and append.

Created with MrDocs