Copy in to out applying S/MIME canonical CRLF line endings when appropriate.

Synopsis

Declared in <openssl/asn1.h>

int
SMIME_crlf_copy(
    BIO* in,
    BIO* out,
    int flags);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

in

Source BIO.

out

Destination BIO (often buffered for streaming).

flags

SMIME/CMS flags controlling text vs binary handling (for example SMIME_BINARY).

Created with MrDocs