Parse an S/MIME message into a PKCS#7 structure using the default library context.

Synopsis

Declared in <openssl/pkcs7.h>

PKCS7*
SMIME_read_PKCS7(
    BIO* bio,
    BIO** bcont);

Return Value

Parsed PKCS7, or NULL on error; free with PKCS7_free.

Parameters

Name

Description

bio

BIO supplying the S/MIME message.

bcont

Optional destination for a memory BIO holding cleartext signed content, or NULL.

Created with MrDocs