[#SMIME_read_ASN1_ex] = SMIME_read_ASN1_ex :mrdocs: Parse an S/MIME message into an ASN.1 structure described by `it.` == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_VALUE.adoc[ASN1_VALUE]* SMIME_read_ASN1_ex( xref:BIO.adoc[BIO]* bio, int flags, xref:BIO.adoc[BIO]** bcont, xref:ASN1_ITEM.adoc[ASN1_ITEM] const* it, xref:ASN1_VALUE.adoc[ASN1_VALUE]** x, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- == Return Value Parsed ASN1_VALUE, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *bio* | BIO that supplies the S/MIME input. | *flags* | CMS_BINARY and/or SMIME_ASCIICRLF control binary vs canonical text handling. | *bcont* | If non‐NULL, set to a memory BIO holding cleartext signed content, or NULL when absent. | *it* | Item descriptor such as ASN1_ITEM_rptr(CMS_ContentInfo) or ASN1_ITEM_rptr(PKCS7). | *x* | Optional existing ASN1_VALUE of type `it` to reuse, or NULL to allocate a new one. | *libctx* | Library context for algorithm fetches during parsing, or NULL for the default. | *propq* | Property query for those fetches, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#