EVP: add EVP_PKEY_is_a() and EVP_PKEY_can_sign()
[openssl.git] / include / openssl / evp.h
index 4903fc5f4233d2315d0d1aea2543764b34d7b904..4545bf71704b65e5625e7d785959dc3f989b8d50 100644 (file)
@@ -1104,6 +1104,7 @@ DEPRECATEDIN_3_0(int EVP_PKEY_decrypt_old(unsigned char *dec_key,
 DEPRECATEDIN_3_0(int EVP_PKEY_encrypt_old(unsigned char *enc_key,
                                           const unsigned char *key,
                                           int key_len, EVP_PKEY *pub_key))
+int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name);
 int EVP_PKEY_type(int type);
 int EVP_PKEY_id(const EVP_PKEY *pkey);
 int EVP_PKEY_base_id(const EVP_PKEY *pkey);