/external/libevent/sample/ |
D | openssl_hostname_validation.c | 63 static HostnameValidationResult matches_common_name(const char *hostname, const X509 *server_cert) { in matches_common_name() argument 70 …common_name_loc = X509_NAME_get_index_by_NID(X509_get_subject_name((X509 *) server_cert), NID_comm… in matches_common_name() 76 …common_name_entry = X509_NAME_get_entry(X509_get_subject_name((X509 *) server_cert), common_name_l… in matches_common_name() 111 …eValidationResult matches_subject_alternative_name(const char *hostname, const X509 *server_cert) { in matches_subject_alternative_name() argument 118 san_names = X509_get_ext_d2i((X509 *) server_cert, NID_subject_alt_name, NULL, NULL); in matches_subject_alternative_name() 163 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert) { in validate_hostname() argument 166 if((hostname == NULL) || (server_cert == NULL)) in validate_hostname() 170 result = matches_subject_alternative_name(hostname, server_cert); in validate_hostname() 173 result = matches_common_name(hostname, server_cert); in validate_hostname()
|
D | https-client.c | 136 X509 *server_cert = NULL; in cert_verify_callback() local 144 server_cert = X509_STORE_CTX_get_current_cert(x509_ctx); in cert_verify_callback() 147 res = validate_hostname(host, server_cert); in cert_verify_callback() 171 X509_NAME_oneline(X509_get_subject_name (server_cert), in cert_verify_callback()
|
D | openssl_hostname_validation.h | 56 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert);
|
/external/autotest/client/common_lib/cros/network/ |
D | xmlrpc_security_types.py | 337 server_ca_cert=None, server_cert=None, server_key=None, argument 362 self.server_cert = server_cert 397 (self.server_cert, self.server_cert_file), 479 server_ca_cert=None, server_cert=None, server_key=None, argument 499 server_ca_cert=server_ca_cert, server_cert=server_cert, 530 server_ca_cert=None, server_cert=None, server_key=None, argument 555 server_ca_cert=server_ca_cert, server_cert=server_cert, 603 def __init__(self, server_ca_cert, server_cert, server_key, argument 622 server_cert=server_cert,
|
/external/autotest/server/site_tests/network_WiFi_SimpleConnect/ |
D | control.wifi_check1x_WPA | 29 server_cert=site_eap_certs.server_cert_1, 44 server_cert=site_eap_certs.server_cert_1, 60 server_cert=site_eap_certs.server_cert_1, 76 server_cert=site_eap_certs.server_cert_1, 92 server_cert=site_eap_certs.server_cert_1, 108 server_cert=site_eap_certs.server_expired_cert,
|
D | control.wifi_check1x_WEP | 28 server_cert=site_eap_certs.server_cert_1,
|
/external/curl/lib/vtls/ |
D | openssl.c | 227 X509* server_cert; member 1499 static CURLcode verifyhost(struct connectdata *conn, X509 *server_cert) in verifyhost() argument 1533 altnames = X509_get_ext_d2i(server_cert, NID_subject_alt_name, NULL, NULL); in verifyhost() 1619 X509_NAME *name = X509_get_subject_name(server_cert); in verifyhost() 2722 BACKEND->server_cert = 0x0; in ossl_connect_step1() 3339 BACKEND->server_cert = SSL_get_peer_certificate(BACKEND->handle); in servercert() 3340 if(!BACKEND->server_cert) { in servercert() 3351 rc = x509_name_oneline(X509_get_subject_name(BACKEND->server_cert), in servercert() 3358 ASN1_TIME_print(mem, X509_get0_notBefore(BACKEND->server_cert)); in servercert() 3363 ASN1_TIME_print(mem, X509_get0_notAfter(BACKEND->server_cert)); in servercert() [all …]
|
D | sectransp.c | 2675 SecCertificateRef server_cert; local 2694 server_cert = SecTrustGetCertificateAtIndex(trust, i); 2695 result = CopyCertSubject(data, server_cert, &certp); 2720 server_cert = SecTrustGetCertificateAtIndex(trust, i); 2721 result = CopyCertSubject(data, server_cert, &certp); 2739 server_cert = (SecCertificateRef)CFArrayGetValueAtIndex(server_certs, 2741 result = CopyCertSubject(data, server_cert, &certp); 2760 server_cert = (SecCertificateRef)CFArrayGetValueAtIndex(server_certs, i); 2761 result = CopyCertSubject(data, server_cert, &certp);
|
/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 239 const char* server_cert = in main() local 258 GPR_ASSERT(strcmp(callback_target_pem, server_cert) == 0); in main()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 618 x509_certificate_chain_free(conn->server_cert); in tls_process_certificate() 619 conn->server_cert = chain; in tls_process_certificate() 957 for (cert = conn->server_cert, depth = 0; cert; in tls_process_certificate_status() 974 for (cert = conn->server_cert, depth = 0; cert; in tls_process_certificate_status() 994 if (conn->server_cert) in tls_process_certificate_status() 996 conn, 0, conn->server_cert, in tls_process_certificate_status()
|
D | tlsv1_client_i.h | 75 struct x509_certificate *server_cert; member
|
D | tlsv1_client_ocsp.c | 782 cert = conn->server_cert; in tls_process_ocsp_response() 795 if (cert == conn->server_cert) in tls_process_ocsp_response()
|
D | tlsv1_client.c | 497 x509_certificate_chain_free(conn->server_cert); in tlsv1_client_deinit()
|
/external/wpa_supplicant_8/src/ap/ |
D | authsrv.c | 197 (hapd->conf->ca_cert || hapd->conf->server_cert || in authsrv_init() 226 params.client_cert = hapd->conf->server_cert; in authsrv_init()
|
D | ap_config.h | 392 char *server_cert; member
|
D | ap_config.c | 595 os_free(conf->server_cert); in hostapd_config_free_bss()
|
/external/autotest/server/site_tests/network_WiFi_RoamFT/ |
D | control.EAP | 25 server_cert=site_eap_certs.server_cert_1,
|
D | control.mixedEAP | 26 server_cert=site_eap_certs.server_cert_1,
|
/external/autotest/server/site_tests/network_WiFi_Roam/ |
D | control.wifi_roam1xTLS | 27 server_cert=site_eap_certs.server_cert_1,
|
/external/autotest/server/site_tests/policy_WiFiTypesServer/ |
D | control.wpa_eap_tls | 27 server_cert=site_eap_certs.server_cert_1,
|
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/ |
D | network_WiFi_PMKSACaching.py | 43 server_cert=site_eap_certs.server_cert_1,
|
/external/wpa_supplicant_8/hs20/server/ |
D | hs20-osu-server.txt | 154 server_cert=Key/server.pem 196 server_cert=/home/user/hs20-server/ca/server.pem
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 234 def testing_context(server_cert=SIGNED_CERTFILE): argument 239 if server_cert == SIGNED_CERTFILE: 241 elif server_cert == SIGNED_CERTFILE2: 244 raise ValueError(server_cert) 250 server_context.load_cert_chain(server_cert)
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 2520 os_free(bss->server_cert); in hostapd_config_fill() 2521 bss->server_cert = os_strdup(pos); in hostapd_config_fill()
|
D | ChangeLog | 362 * changed OpenSSL to read full certificate chain from server_cert file 1067 variables: ca_cert, server_cert, private_key, private_key_passwd);
|