CMS_AuthEnvelopedData_create_ex

Create an empty CMS AuthEnvelopedData ContentInfo using a library context.

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_AuthEnvelopedData_create_ex(
    EVP_CIPHER const* cipher,
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New AuthEnvelopedData ContentInfo, or NULL on error.

Parameters

NameDescription
cipherSymmetric AEAD cipher to use (for example AES-GCM); must encode ASN.1 parameters.
libctxLibrary context for algorithm fetches, or NULL for the default.
propqProperty query for provider selection, or NULL.