Test whether a key context is for the named key type.
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_is_a(
EVP_PKEY_CTX* ctx,
char const* keytype);
1 if ctx matches keytype, or 0 otherwise.
| Name | Description |
|---|---|
| ctx | Key context to query. |
| keytype | Algorithm name such as "RSA" or "EC". |