[#EVP_PKEY_CTX_is_a] = EVP_PKEY_CTX_is_a :mrdocs: Test whether a key context is for the named key type. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_is_a( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, char const* keytype); ---- == Return Value 1 if `ctx` matches `keytype,` or 0 otherwise. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key context to query. | *keytype* | Algorithm name such as "RSA" or "EC". |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#