[#ENGINE_get_pkey_meth]
= ENGINE&lowbar;get&lowbar;pkey&lowbar;meth
:mrdocs:

Return the EVP&lowbar;PKEY&lowbar;METHOD that `e` provides for algorithm `nid&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
xref:EVP_PKEY_METHOD.adoc[EVP&lowbar;PKEY&lowbar;METHOD] const*
ENGINE&lowbar;get&lowbar;pkey&lowbar;meth(
    xref:ENGINE.adoc[ENGINE]* e,
    int nid);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Matching EVP&lowbar;PKEY&lowbar;METHOD, or NULL if `e` does not implement `nid&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE whose pkey&hyphen;method handler is queried&period;
| *nid*
| NID of the public&hyphen;key algorithm to look up&period;
|===


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