Write a PKCS#7 structure as PEM, streaming content from in when required.

Synopsis

Declared in <openssl/pkcs7.h>

int
PEM_write_bio_PKCS7_stream(
    BIO* out,
    PKCS7* p7,
    BIO* in,
    int flags);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

out

BIO that receives the PEM‐encoded PKCS#7.

p7

PKCS#7 object to serialise.

in

Optional content BIO for streaming signed/enveloped data, or NULL.

flags

SMIME_* / PKCS7_* streaming and encoding flags.

Created with MrDocs