Lines Matching full:privatekey
892 if (ctx->cert->key->privatekey == NULL)
897 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
918 if (ssl->cert->key->privatekey == NULL)
924 ssl->cert->key->privatekey));
2018 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2019 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2021 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2023 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2025 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2026 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2029 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2030 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2032 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
2047 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2052 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2334 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
2335 return(c->pkeys[SSL_PKEY_DSA_SIGN].privatekey);
2338 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
2339 return(c->pkeys[SSL_PKEY_RSA_SIGN].privatekey);
2340 else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
2341 return(c->pkeys[SSL_PKEY_RSA_ENC].privatekey);
2346 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
2347 return(c->pkeys[SSL_PKEY_ECC].privatekey);
2785 return(s->cert->key->privatekey);