Fetch an asymmetric cipher (encrypt/decrypt) algorithm from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_ASYM_CIPHER*
EVP_ASYM_CIPHER_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_ASYM_CIPHER (free with EVP_ASYM_CIPHER_free()), or NULL on failure.

Parameters

Name

Description

ctx

Library context to search, or NULL for the default.

algorithm

Algorithm name (for example "RSA").

properties

Optional property query string, or NULL.

Created with MrDocs