[#PKCS7_dataInit] = PKCS7_dataInit :mrdocs: Create a BIO chain for writing content into a PKCS#7 structure (digest/encrypt filters). == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BIO.adoc[BIO]* PKCS7_dataInit( xref:PKCS7.adoc[PKCS7]* p7, xref:BIO.adoc[BIO]* bio); ---- == Return Value BIO to which application data should be written, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 object being signed, enveloped, digested, or encrypted. | *bio* | Optional BIO supplying detached content, or NULL to embed content in `p7.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#