[#ENGINE_PKEY_METHS_PTR]
= ENGINE&lowbar;PKEY&lowbar;METHS&lowbar;PTR
:mrdocs:

ENGINE public&hyphen;key method handler&colon; list supported NIDs or return an EVP&lowbar;PKEY&lowbar;METHOD&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* ENGINE&lowbar;PKEY&lowbar;METHS&lowbar;PTR)(xref:ENGINE.adoc[ENGINE]*, xref:EVP_PKEY_METHOD.adoc[EVP&lowbar;PKEY&lowbar;METHOD]**, int const**, int);
----

== Return Value

Number of NIDs when listing, 1 when a method is returned, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE being queried (first parameter of the callback)&period;
| *pmeth*
| When non&hyphen;NULL, receives the EVP&lowbar;PKEY&lowbar;METHOD for the requested NID&period;
| *nids*
| When `pmeth` is NULL, receives the array of supported NIDs&period;
| *nid*
| NID to look up when `pmeth` is non&hyphen;NULL&period;
|===


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