EVP_PKEY_get0_DSA
DSA *dsa = EVP_PKEY_get0_DSA(pkey);
struct dsa_st *EVP_PKEY_get0_DSA(EVP_PKEY *pkey);