[#ENGINE_load_public_key] = ENGINE_load_public_key :mrdocs: Load a public key from storage managed by an ENGINE. == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EVP_PKEY.adoc[EVP_PKEY]* ENGINE_load_public_key( xref:ENGINE.adoc[ENGINE]* e, char const* key_id, xref:UI_METHOD.adoc[UI_METHOD]* ui_method, void* callback_data); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value New EVP_PKEY on success, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *e* | Functional ENGINE reference that implements key loading. | *key_id* | ENGINE‐specific identifier of the key to load. | *ui_method* | Optional UI method for PIN/passphrase prompts, or NULL. | *callback_data* | Caller data forwarded to `ui_method.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#