[#CMS_data] = CMS_data :mrdocs: Write the payload of a CMS Data ContentInfo to a BIO. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_data( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:BIO.adoc[BIO]* out, unsigned int flags); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | ContentInfo of type NID_pkcs7_data. | *out* | Destination BIO for the extracted content. | *flags* | Optional CMS content‐copy flags (for example CMS_TEXT). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#