ENGINE_load_public_key

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

NameDescription
eFunctional ENGINE reference that implements key loading.
key_idENGINE-specific identifier of the key to load.
ui_methodOptional UI method for PIN/passphrase prompts, or NULL.
callback_dataCaller data forwarded to ui_method.