CMS_add0_RevocationInfoChoice

Append an empty RevocationInfoChoice to a CMS ContentInfo's CRL set.

Synopsis

Declared in <openssl/cms.h>

CMS_RevocationInfoChoice*
CMS_add0_RevocationInfoChoice(CMS_ContentInfo* cms);

Return Value

Internal pointer to the new choice (populate type and contents), or NULL on error.

Parameters

NameDescription
cmsContentInfo of type signed data or (authenticated) enveloped data.