Create a filter BIO that finalises and writes streaming PKCS#7 ASN.1 to out.

Synopsis

Declared in <openssl/pkcs7.h>

BIO*
BIO_new_PKCS7(
    BIO* out,
    PKCS7* p7);

Return Value

New BIO filter, or NULL on error; free with BIO_free.

Parameters

Name

Description

out

Downstream BIO that receives the encoded PKCS#7.

p7

Partial PKCS#7 structure created with PKCS7_STREAM (or similar streaming flags).

Created with MrDocs