Parse an S/MIME message into a CMS_ContentInfo, with optional flags and reuse.
Synopsis
Declared in <openssl/cms.h>
CMS_ContentInfo*
SMIME_read_CMS_ex(
BIO* bio,
int flags,
BIO** bcont,
CMS_ContentInfo** ci);
Return Value
Parsed CMS_ContentInfo, or NULL on error.
Parameters
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. |
Created with MrDocs