Parse an S/MIME message into a PKCS#7 structure, optionally reusing p7.
Declared in <openssl/pkcs7.h>
PKCS7*
SMIME_read_PKCS7_ex(
BIO* bio,
BIO** bcont,
PKCS7** p7);
Parsed PKCS7, or NULL on error; free with PKCS7_free.
| Name | Description |
|---|---|
| bio | BIO supplying the S/MIME message. |
| bcont | Optional destination for a memory BIO holding cleartext signed content, or NULL. |
| p7 | Optional pre-allocated PKCS7 from PKCS7_new_ex(), or NULL to allocate a new one. |