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

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.

Created with MrDocs