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

Name

Description

si

SignerInfo whose signedAttrs set is modified.

loc

Zero‐based index of the attribute to delete.

Created with MrDocs