[#PKCS7_new_ex]
= PKCS7&lowbar;new&lowbar;ex
:mrdocs:

Allocate an empty PKCS&num;7 structure with an explicit library context and property query&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:PKCS7.adoc[PKCS7]*
PKCS7&lowbar;new&lowbar;ex(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq);
----

== Return Value

New PKCS7, or NULL on allocation failure&semi; free with PKCS7&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context for algorithm fetches, or NULL for the default&period;
| *propq*
| Property query for algorithm fetches, or NULL&period;
|===


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