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

Name

Description

e

ENGINE whose public‐key loader is replaced.

loadpub_f

Loader callback, or NULL to clear.

Created with MrDocs