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

Name

Description

cipher

Symmetric AEAD cipher to use (for example AES‐GCM); must encode ASN.1 parameters.

libctx

Library context for algorithm fetches, or NULL for the default.

propq

Property query for provider selection, or NULL.

Created with MrDocs