[#ASN1_item_new]
= ASN1&lowbar;item&lowbar;new
:mrdocs:

Allocate a new ASN&period;1 value described by `it` using the default library context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_VALUE.adoc[ASN1&lowbar;VALUE]*
ASN1&lowbar;item&lowbar;new(xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it);
----

== Return Value

Newly allocated ASN1&lowbar;VALUE, or NULL on error&semi; free with ASN1&lowbar;item&lowbar;free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *it*
| ASN&period;1 item template for the type to create&period;
|===


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