[#CMS_data]
= CMS&lowbar;data
:mrdocs:

Write the payload of a CMS Data ContentInfo to a BIO&period;

== Synopsis

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

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

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo of type NID&lowbar;pkcs7&lowbar;data&period;
| *out*
| Destination BIO for the extracted content&period;
| *flags*
| Optional CMS content&hyphen;copy flags (for example CMS&lowbar;TEXT)&period;
|===


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