[#CMS_ContentInfo_new_ex]
= CMS&lowbar;ContentInfo&lowbar;new&lowbar;ex
:mrdocs:

Allocate a CMS ContentInfo associated with a library context and property query&period;

== Synopsis

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

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

== Return Value

New CMS&lowbar;ContentInfo, or NULL on allocation failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context used when fetching algorithms for this object, or NULL for the default&period;
| *propq*
| Property query string for provider algorithm selection, or NULL&period;
|===


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