[#BIO_new_PKCS7]
= BIO&lowbar;new&lowbar;PKCS7
:mrdocs:

Create a filter BIO that finalises and writes streaming PKCS&num;7 ASN&period;1 to `out&period;`

== Synopsis

Declared in `&lt;openssl&sol;pkcs7&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;new&lowbar;PKCS7(
    xref:BIO.adoc[BIO]* out,
    xref:PKCS7.adoc[PKCS7]* p7);
----

== Return Value

New BIO filter, or NULL on error&semi; free with BIO&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| Downstream BIO that receives the encoded PKCS&num;7&period;
| *p7*
| Partial PKCS&num;7 structure created with PKCS7&lowbar;STREAM (or similar streaming flags)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
