EVP_PKEY_get_field_type
int EVP_PKEY_get_field_type(const EVP_PKEY *pkey);
int field_type = EVP_PKEY_get_field_type(pkey);