Create an empty CMS EnvelopedData ContentInfo using a library context.

Synopsis

Declared in <openssl/cms.h>

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

Return Value

New EnvelopedData ContentInfo, or NULL on error.

Parameters

Name

Description

cipher

Content‐encryption cipher whose ASN.1 parameters will be encoded.

libctx

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

propq

Property query for provider selection, or NULL.

Created with MrDocs