[#OSSL_CMP_ITAV_create]
= OSSL&lowbar;CMP&lowbar;ITAV&lowbar;create
:mrdocs:

Allocate an ITAV with the given infoType and infoValue, taking ownership of both&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_CMP_ITAV.adoc[OSSL&lowbar;CMP&lowbar;ITAV]*
OSSL&lowbar;CMP&lowbar;ITAV&lowbar;create(
    xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT]* type,
    xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]* value);
----

== Return Value

New ITAV on success, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| infoType OID&semi; ownership transfers to the ITAV&period;
| *value*
| infoValue as a generic ASN1&lowbar;TYPE&semi; ownership transfers to the ITAV&period;
|===


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