CMS_signed_delete_attr

Remove and return the signed attribute at index loc from a CMS SignerInfo.

Synopsis

Declared in <openssl/cms.h>

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

Return Value

Removed attribute (caller frees with X509_ATTRIBUTE_free), or NULL on error.

Parameters

NameDescription
siSignerInfo whose signedAttrs set is modified.
locZero-based index of the attribute to delete.