[#SMIME_read_ASN1]
= SMIME&lowbar;read&lowbar;ASN1
:mrdocs:

Parse an S&sol;MIME message into an ASN&period;1 structure described by `it` (flags&equals;0)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_VALUE.adoc[ASN1&lowbar;VALUE]*
SMIME&lowbar;read&lowbar;ASN1(
    xref:BIO.adoc[BIO]* bio,
    xref:BIO.adoc[BIO]** bcont,
    xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it);
----

== Return Value

Parsed ASN1&lowbar;VALUE, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bio*
| BIO that supplies the S&sol;MIME input&period;
| *bcont*
| If non&hyphen;NULL, set to a memory BIO holding cleartext signed content, or NULL when absent&period;
| *it*
| Item descriptor such as ASN1&lowbar;ITEM&lowbar;rptr(CMS&lowbar;ContentInfo) or ASN1&lowbar;ITEM&lowbar;rptr(PKCS7)&period;
|===


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