[#ENGINE_load_private_key] = ENGINE_load_private_key :mrdocs: Load a private key from an ENGINE by key identifier (deprecated). == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:EVP_PKEY.adoc[EVP_PKEY]* ENGINE_load_private_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 Loaded EVP_PKEY, or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *e* | Initialised ENGINE that implements key loading. | *key_id* | ENGINE‐specific key identifier string. | *ui_method* | UI method for PIN/passphrase prompts, or NULL. | *callback_data* | Application pointer passed to `ui_method.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#