Home | History | Annotate | Download | only in ssl

Lines Matching refs:privatekey

915 	if 	(ctx->cert->key->privatekey == NULL)
920 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
941 if (ssl->cert->key->privatekey == NULL)
947 ssl->cert->key->privatekey));
2170 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2171 rsa_enc_export=(rsa_enc && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2173 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2175 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2177 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2178 dh_rsa_export=(dh_rsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2181 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2182 dh_dsa_export=(dh_dsa && EVP_PKEY_size(cpk->privatekey)*8 <= kl);
2184 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
2199 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2204 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2500 (c->pkeys[SSL_PKEY_DSA_SIGN].privatekey != NULL))
2504 return c->pkeys[SSL_PKEY_DSA_SIGN].privatekey;
2510 if (c->pkeys[SSL_PKEY_RSA_SIGN].privatekey != NULL)
2511 return c->pkeys[SSL_PKEY_RSA_SIGN].privatekey;
2512 if (c->pkeys[SSL_PKEY_RSA_ENC].privatekey != NULL)
2513 return c->pkeys[SSL_PKEY_RSA_ENC].privatekey;
2516 (c->pkeys[SSL_PKEY_ECC].privatekey != NULL))
2520 return c->pkeys[SSL_PKEY_ECC].privatekey;
2960 return(s->cert->key->privatekey);