[#SMIME_read_CMS_ex] = SMIME_read_CMS_ex :mrdocs: Parse an S/MIME message into a CMS_ContentInfo, with optional flags and reuse. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* SMIME_read_CMS_ex( xref:BIO.adoc[BIO]* bio, int flags, xref:BIO.adoc[BIO]** bcont, xref:CMS_ContentInfo.adoc[CMS_ContentInfo]** ci); ---- == Return Value Parsed CMS_ContentInfo, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *bio* | BIO from which the S/MIME message is read. | *flags* | Parse flags such as CMS_BINARY and SMIME_ASCIICRLF; 0 matches SMIME_read_CMS(). | *bcont* | If non‐NULL, receives a memory BIO with cleartext signed content, or is set to NULL. | *ci* | Optional existing CMS_ContentInfo to populate (for example from CMS_ContentInfo_new_ex), or NULL to allocate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#