[#SMIME_read_CMS]
= SMIME&lowbar;read&lowbar;CMS
:mrdocs:

Parse an S&sol;MIME message from a BIO into a CMS&lowbar;ContentInfo&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo]*
SMIME&lowbar;read&lowbar;CMS(
    xref:BIO.adoc[BIO]* bio,
    xref:BIO.adoc[BIO]** bcont);
----

== Description

Equivalent to SMIME&lowbar;read&lowbar;CMS&lowbar;ex() with flags 0 and a NULL reuse pointer&period;

== Return Value

Parsed CMS&lowbar;ContentInfo, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| BIO from which the S&sol;MIME message is read&period;
| *bcont*
| If non&hyphen;NULL, receives a memory BIO with cleartext signed content, or is set to NULL&period;
|===


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