Home
last modified time | relevance | path

Searched refs:server_cert (Results 1 – 25 of 25) sorted by relevance

/external/libevent/sample/
Dopenssl_hostname_validation.c63 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()
Dhttps-client.c136 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()
Dopenssl_hostname_validation.h56 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert);
/external/autotest/client/common_lib/cros/network/
Dxmlrpc_security_types.py337 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/
Dcontrol.wifi_check1x_WPA29 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,
Dcontrol.wifi_check1x_WEP28 server_cert=site_eap_certs.server_cert_1,
/external/curl/lib/vtls/
Dopenssl.c227 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 …]
Dsectransp.c2675 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/
Dverify_peer_options.cc239 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/
Dtlsv1_client_read.c618 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()
Dtlsv1_client_i.h75 struct x509_certificate *server_cert; member
Dtlsv1_client_ocsp.c782 cert = conn->server_cert; in tls_process_ocsp_response()
795 if (cert == conn->server_cert) in tls_process_ocsp_response()
Dtlsv1_client.c497 x509_certificate_chain_free(conn->server_cert); in tlsv1_client_deinit()
/external/wpa_supplicant_8/src/ap/
Dauthsrv.c197 (hapd->conf->ca_cert || hapd->conf->server_cert || in authsrv_init()
226 params.client_cert = hapd->conf->server_cert; in authsrv_init()
Dap_config.h392 char *server_cert; member
Dap_config.c595 os_free(conf->server_cert); in hostapd_config_free_bss()
/external/autotest/server/site_tests/network_WiFi_RoamFT/
Dcontrol.EAP25 server_cert=site_eap_certs.server_cert_1,
Dcontrol.mixedEAP26 server_cert=site_eap_certs.server_cert_1,
/external/autotest/server/site_tests/network_WiFi_Roam/
Dcontrol.wifi_roam1xTLS27 server_cert=site_eap_certs.server_cert_1,
/external/autotest/server/site_tests/policy_WiFiTypesServer/
Dcontrol.wpa_eap_tls27 server_cert=site_eap_certs.server_cert_1,
/external/autotest/server/site_tests/network_WiFi_PMKSACaching/
Dnetwork_WiFi_PMKSACaching.py43 server_cert=site_eap_certs.server_cert_1,
/external/wpa_supplicant_8/hs20/server/
Dhs20-osu-server.txt154 server_cert=Key/server.pem
196 server_cert=/home/user/hs20-server/ca/server.pem
/external/python/cpython3/Lib/test/
Dtest_ssl.py234 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/
Dconfig_file.c2520 os_free(bss->server_cert); in hostapd_config_fill()
2521 bss->server_cert = os_strdup(pos); in hostapd_config_fill()
DChangeLog362 * changed OpenSSL to read full certificate chain from server_cert file
1067 variables: ca_cert, server_cert, private_key, private_key_passwd);