PKCS7_dataInit

Create a BIO chain for writing content into a PKCS#7 structure (digest/encrypt filters).

Synopsis

Declared in <openssl/pkcs7.h>

BIO*
PKCS7_dataInit(
    PKCS7* p7,
    BIO* bio);

Return Value

BIO to which application data should be written, or NULL on failure.

Parameters

NameDescription
p7PKCS#7 object being signed, enveloped, digested, or encrypted.
bioOptional BIO supplying detached content, or NULL to embed content in p7.