[#EVP_PKEY_get_base_id]
= EVP&lowbar;PKEY&lowbar;get&lowbar;base&lowbar;id
:mrdocs:

Return the base EVP&lowbar;PKEY type id for `pkey` (for example EVP&lowbar;PKEY&lowbar;RSA)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;get&lowbar;base&lowbar;id(xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* pkey);
----

== Return Value

EVP&lowbar;PKEY&lowbar;&ast; type constant, or EVP&lowbar;PKEY&lowbar;NONE if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pkey*
| Key to query&period;
|===


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