Lines Matching refs:privatekey
800 if (ctx->cert->key->privatekey == NULL)
805 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
826 if (ssl->cert->key->privatekey == NULL)
832 ssl->cert->key->privatekey));
1594 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
1595 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
1597 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
1599 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
1601 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
1602 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
1605 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
1606 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
1608 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
1856 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
1857 return(c->pkeys[SSL_PKEY_DSA_SIGN].privatekey);
1860 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
1861 return(c->pkeys[SSL_PKEY_RSA_SIGN].privatekey);
1862 else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
1863 return(c->pkeys[SSL_PKEY_RSA_ENC].privatekey);
1868 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
1869 return(c->pkeys[SSL_PKEY_ECC].privatekey);
2276 return(s->cert->key->privatekey);