ENGINE_set_load_pubkey_function

Set the callback used by ENGINE_load_public_key() to load public keys.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_load_pubkey_function(
    ENGINE* e,
    ENGINE_LOAD_KEY_PTR loadpub_f);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE whose public-key loader is replaced.
loadpub_fLoader callback, or NULL to clear.