Lines Matching full:x509
844 X509 *SSL_get_peer_certificate(const SSL *s)
846 X509 *r;
860 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s)
862 STACK_OF(X509) *r;
910 (ctx->cert->key->x509 == NULL))
920 return(X509_check_private_key(ctx->cert->key->x509, ctx->cert->key->privatekey));
936 if (ssl->cert->key->x509 == NULL)
946 return(X509_check_private_key(ssl->cert->key->x509,
2143 X509 *x = NULL;
2170 rsa_enc= (cpk->x509 != NULL && cpk->privatekey != NULL);
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);
2181 dh_dsa= (cpk->x509 != NULL && cpk->privatekey != NULL);
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) {
2264 x = (c->pkeys[SSL_PKEY_ECC]).x509;
2343 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s)
2454 if (c->pkeys[SSL_PKEY_RSA_ENC].x509 == NULL)
2477 X509 *ssl_get_server_send_cert(const SSL *s)
2483 return cpk->x509;
2946 X509 *SSL_get_certificate(const SSL *s)
2951 return(s->cert->key->x509);