ENGINE_load_private_key

Load a private key from an ENGINE by key identifier (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
EVP_PKEY*
ENGINE_load_private_key(
    ENGINE* e,
    char const* key_id,
    UI_METHOD* ui_method,
    void* callback_data);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Loaded EVP_PKEY, or NULL on failure.

Parameters

NameDescription
eInitialised ENGINE that implements key loading.
key_idENGINE-specific key identifier string.
ui_methodUI method for PIN/passphrase prompts, or NULL.
callback_dataApplication pointer passed to ui_method.