Lines Matching defs:pkey
75 EVP_PKEY *pkey;
83 pkey = X509_PUBKEY_get(spki->spkac->pubkey);
84 if(!pkey) BIO_printf(out, " Unable to load public key\n");
87 if (pkey->type == EVP_PKEY_RSA)
90 BN_num_bits(pkey->pkey.rsa->n));
91 RSA_print(out,pkey->pkey.rsa,2);
96 if (pkey->type == EVP_PKEY_DSA)
99 DSA_print(out,pkey->pkey.dsa,2);
104 if (pkey->type == EVP_PKEY_EC)
107 EC_KEY_print(out, pkey->pkey.ec,2);
113 EVP_PKEY_free(pkey);