[#CMS_dataInit]
= CMS&lowbar;dataInit
:mrdocs:

Build a BIO chain that reads or writes the CMS content for `cms&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
CMS&lowbar;dataInit(
    xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]* cms,
    xref:BIO.adoc[BIO]* icont);
----

== Return Value

BIO chain suitable for reading or writing content, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo whose processing BIO chain is created&period;
| *icont*
| Optional content BIO to push under the CMS filters&semi; NULL allocates an appropriate content BIO&period;
|===


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