EVP_KEYMGMT_fetch

Fetch a key-management implementation from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_KEYMGMT*
EVP_KEYMGMT_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_KEYMGMT, or NULL on error; free with EVP_KEYMGMT_free.

Parameters

NameDescription
ctxLibrary context to search, or NULL for the default.
algorithmAlgorithm name such as "RSA" or "EC".
propertiesProperty query string, or NULL.