[#ASN1_generate_v3]
= ASN1&lowbar;generate&lowbar;v3
:mrdocs:

Build an ASN1&lowbar;TYPE from an ASN&period;1 generation string, resolving extras via an X509V3&lowbar;CTX&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_TYPE.adoc[ASN1&lowbar;TYPE]*
ASN1&lowbar;generate&lowbar;v3(
    char const* str,
    xref:X509V3_CTX.adoc[X509V3&lowbar;CTX]* cnf);
----

== Return Value

Encoded ASN1&lowbar;TYPE, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| Generation string describing the ASN&period;1 value to encode&period;
| *cnf*
| Optional X&period;509v3 context supplying configuration for additional string references, or NULL&period;
|===


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