[#ENGINE_LOAD_KEY_PTR]
= ENGINE&lowbar;LOAD&lowbar;KEY&lowbar;PTR
:mrdocs:

Callback that loads a key from an ENGINE&hyphen;backed store&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]*(* ENGINE&lowbar;LOAD&lowbar;KEY&lowbar;PTR)(xref:ENGINE.adoc[ENGINE]*, char const*, xref:UI_METHOD.adoc[UI&lowbar;METHOD]*, void*);
----

== Return Value

Newly allocated EVP&lowbar;PKEY, or NULL on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE that owns the key material&period;
| *key&lowbar;id*
| Identifier of the key within the ENGINE&period;
| *ui&lowbar;method*
| UI method used to collect passphrases or a PIN, or NULL&period;
| *callback&lowbar;data*
| Application data passed to `ui&lowbar;method&period;`
|===


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