[#PEM_write_bio_CMS_stream] = PEM_write_bio_CMS_stream :mrdocs: Write a CMS ContentInfo as a PEM CMS message, optionally streaming content from `in.` == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PEM_write_bio_CMS_stream( xref:BIO.adoc[BIO]* out, xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:BIO.adoc[BIO]* in, int flags); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *out* | BIO that receives the PEM‐encoded CMS. | *cms* | CMS structure to encode. | *in* | BIO supplying detached or streaming content when required by `flags,` or NULL. | *flags* | CMS_* flags controlling streaming and encoding behaviour. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#