CMS_AuthEnvelopedData_create

Create an empty CMS AuthEnvelopedData ContentInfo for an AEAD cipher.

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_AuthEnvelopedData_create(EVP_CIPHER const* cipher);

Return Value

New AuthEnvelopedData ContentInfo, or NULL on error.

Parameters

NameDescription
cipherSymmetric AEAD cipher to use (currently AES-GCM variants); must encode ASN.1 parameters.