SMIME_text

Strip MIME headers from a text/plain S/MIME part and copy the body to out.

Synopsis

Declared in <openssl/asn1.h>

int
SMIME_text(
    BIO* in,
    BIO* out);

Return Value

1 on success, or 0 if headers cannot be parsed or Content-Type is not text/plain.

Parameters

NameDescription
inBIO positioned at a MIME message (headers then body).
outBIO that receives the message body after headers are removed.