Lines Matching refs:X509
827 X509 *SSL_get_peer_certificate(const SSL *s)
829 X509 *r;
843 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s)
845 STACK_OF(X509) *r;
893 (ctx->cert->key->x509 == NULL))
903 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
919 if (ssl->cert->key->x509 == NULL)
929 return(X509_check_private_key(ssl->cert->key->x509,
2045 X509 *x = NULL;
2072 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
2075 rsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2077 dsa_sign=(cpk->x509 != NULL && cpk->privatekey != NULL);
2079 dh_rsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2083 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
2086 have_ecc_cert= (cpk->x509 != NULL && cpk->privatekey != NULL);
2101 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2106 if (cpk->x509 != NULL && cpk->privatekey !=NULL) {
2166 x = (c->pkeys[SSL_PKEY_ECC]).x509;
2245 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s)
2317 X509 *ssl_get_server_send_cert(SSL *s)
2356 if (c->pkeys[SSL_PKEY_RSA_ENC].x509 == NULL)
2375 if (c->pkeys[i].x509 == NULL) return(NULL);
2377 return(c->pkeys[i].x509);
2831 X509 *SSL_get_certificate(const SSL *s)
2834 return(s->cert->key->x509);