Set the callback used by ENGINE_load_private_key() to load private keys.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_load_privkey_function(
    ENGINE* e,
    ENGINE_LOAD_KEY_PTR loadpriv_f);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

e

ENGINE whose private‐key loader is replaced.

loadpriv_f

Loader callback, or NULL to clear.

Created with MrDocs