CMS_unsigned_delete_attr

Remove and return the unsigned attribute at an index in a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

X509_ATTRIBUTE*
CMS_unsigned_delete_attr(
    CMS_SignerInfo* si,
    int loc);

Return Value

Removed X509_ATTRIBUTE (caller owns it), or NULL on error.

Parameters

NameDescription
siSignerInfo whose unsignedAttrs are modified.
locZero-based index of the attribute to remove.