Create an empty CMS EnvelopedData ContentInfo for cipher (default library context).

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_EnvelopedData_create(EVP_CIPHER const* cipher);

Return Value

New EnvelopedData ContentInfo, or NULL on error; free with CMS_ContentInfo_free.

Parameters

Name

Description

cipher

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

Created with MrDocs