EVP_ASYM_CIPHER_is_a

Test whether an asymmetric cipher implementation matches a name.

Synopsis

Declared in <openssl/evp.h>

int
EVP_ASYM_CIPHER_is_a(
    EVP_ASYM_CIPHER const* cipher,
    char const* name);

Return Value

1 if cipher is known as name, or 0 otherwise.

Parameters

NameDescription
cipherAsymmetric cipher algorithm object to query.
nameAlgorithm name (for example "RSA").