[#EVP_PKEY_asn1_add0]
= EVP&lowbar;PKEY&lowbar;asn1&lowbar;add0
:mrdocs:

Register an EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD in the global ASN&period;1 method table&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;asn1&lowbar;add0(xref:EVP_PKEY_ASN1_METHOD.adoc[EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD] const* ameth);
----

== Return Value

1 on success, or 0 on failure (for example duplicate id)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ameth*
| ASN&period;1 method to add&semi; ownership is transferred on success&period;
|===


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