[#EVP_PKEY_type]
= EVP&lowbar;PKEY&lowbar;type
:mrdocs:

Map a public&hyphen;key type NID to its base algorithm type NID&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;type(int type);
----

== Return Value

Base type NID (for example EVP&lowbar;PKEY&lowbar;RSA), or NID&lowbar;undef if unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *type*
| Key type NID (possibly an alias such as EVP&lowbar;PKEY&lowbar;RSA2)&period;
|===


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