ENGINE_LOAD_KEY_PTR

Callback that loads a key from an ENGINE-backed store.

Synopsis

Declared in <openssl/engine.h>

typedef EVP_PKEY*(* ENGINE_LOAD_KEY_PTR)(ENGINE*, char const*, UI_METHOD*, void*);

Return Value

Newly allocated EVP_PKEY, or NULL on failure.

Parameters

NameDescription
eENGINE that owns the key material.
key_idIdentifier of the key within the ENGINE.
ui_methodUI method used to collect passphrases or a PIN, or NULL.
callback_dataApplication data passed to ui_method.