[#BIO_new_CMS] = BIO_new_CMS :mrdocs: Wrap a CMS ContentInfo in a filter BIO that writes indefinite‐length BER to `out.` == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIO.adoc[BIO]* BIO_new_CMS( xref:BIO.adoc[BIO]* out, xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms); ---- == Return Value New filter BIO, or NULL on failure; free with BIO_free_all(). == Parameters [cols="1,4"] |=== | Name| Description | *out* | Underlying BIO that receives the encoded CMS structure. | *cms* | CMS ContentInfo to encode through the filter. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#