Load a public key from storage managed by an ENGINE.
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);
Deprecated. Use of this entity is allowed but discouraged.
New EVP_PKEY on success, or NULL on failure.
| 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. |