[#CMS_AuthEnvelopedData_create]
= CMS&lowbar;AuthEnvelopedData&lowbar;create
:mrdocs:

Create an empty CMS AuthEnvelopedData ContentInfo for an AEAD cipher&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;AuthEnvelopedData&lowbar;create(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher);
----

== Return Value

New AuthEnvelopedData ContentInfo, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Symmetric AEAD cipher to use (currently AES&hyphen;GCM variants)&semi; must encode ASN&period;1 parameters&period;
|===


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