Lines Matching refs:privatekey
902 if (ctx->cert->key->privatekey == NULL)
907 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
928 if (ssl->cert->key->privatekey == NULL)
934 ssl->cert->key->privatekey));
2083 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2084 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2086 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2088 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2090 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2091 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2094 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2095 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2097 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
2112 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2117 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2409 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
2413 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
2415 else if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
2419 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
2428 return c->pkeys[idx].privatekey;
2864 return(s->cert->key->privatekey);