EVP_SIGNATURE_is_a

Test whether a signature algorithm implementation matches a name.

Synopsis

Declared in <openssl/evp.h>

int
EVP_SIGNATURE_is_a(
    EVP_SIGNATURE const* signature,
    char const* name);

Return Value

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

Parameters

NameDescription
signatureSignature algorithm object to query.
nameAlgorithm name (for example "RSA" or "ED25519").