Load a public key from storage managed by an ENGINE.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
EVP_PKEY*
ENGINE_load_public_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

New EVP_PKEY on success, or NULL on failure.

Parameters

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.

Created with MrDocs