[#EVP_PKEY_asn1_get0_info]
= EVP&lowbar;PKEY&lowbar;asn1&lowbar;get0&lowbar;info
:mrdocs:

Extract identifying metadata from an EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD&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;get0&lowbar;info(
    int* ppkey&lowbar;id,
    int* pkey&lowbar;base&lowbar;id,
    int* ppkey&lowbar;flags,
    char const** pinfo,
    char const** ppem&lowbar;str,
    xref:EVP_PKEY_ASN1_METHOD.adoc[EVP&lowbar;PKEY&lowbar;ASN1&lowbar;METHOD] const* ameth);
----

== Return Value

1 on success, or 0 if `ameth` is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ppkey&lowbar;id*
| Optional&semi; receives the method&apos;s EVP&lowbar;PKEY type NID&period;
| *pkey&lowbar;base&lowbar;id*
| Optional&semi; receives the base key type NID&period;
| *ppkey&lowbar;flags*
| Optional&semi; receives ASN1 method flags (ASN1&lowbar;PKEY&lowbar;&ast;)&period;
| *pinfo*
| Optional&semi; receives the human&hyphen;readable info string, or NULL&period;
| *ppem&lowbar;str*
| Optional&semi; receives the PEM string name used for this key type&period;
| *ameth*
| ASN&period;1 method to query&semi; must not be NULL&period;
|===


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