[#CMS_EnvelopedData_create]
= CMS&lowbar;EnvelopedData&lowbar;create
:mrdocs:

Create an empty CMS EnvelopedData ContentInfo for `cipher` (default library context)&period;

== Synopsis

Declared in `&lt;openssl&sol;cms&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]*
CMS&lowbar;EnvelopedData&lowbar;create(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher);
----

== Return Value

New EnvelopedData ContentInfo, or NULL on error&semi; free with CMS&lowbar;ContentInfo&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Content&hyphen;encryption cipher whose ASN&period;1 parameters will be encoded&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
