/third_party/grpc/src/cpp/common/ |
D | tls_credentials_options.cc | 54 std::string TlsServerAuthorizationCheckArg::peer_cert() const { in peer_cert() function in grpc::experimental::TlsServerAuthorizationCheckArg 55 std::string cpp_peer_cert(c_arg_->peer_cert); in peer_cert() 86 const std::string& peer_cert) { in set_peer_cert() argument 87 c_arg_->peer_cert = gpr_strdup(peer_cert.c_str()); in set_peer_cert()
|
/third_party/mbedtls/library/ |
D | ssl_tls13_generic.c | 395 if( !mbedtls_pk_can_do( &ssl->session_negotiate->peer_cert->pk, sig_alg ) ) in ssl_tls13_parse_certificate_verify() 457 &ssl->session_negotiate->peer_cert->pk, in ssl_tls13_parse_certificate_verify() 610 if( ssl->session_negotiate->peer_cert != NULL ) in ssl_tls13_parse_certificate() 612 mbedtls_x509_crt_free( ssl->session_negotiate->peer_cert ); in ssl_tls13_parse_certificate() 613 mbedtls_free( ssl->session_negotiate->peer_cert ); in ssl_tls13_parse_certificate() 616 if( ( ssl->session_negotiate->peer_cert = in ssl_tls13_parse_certificate() 626 mbedtls_x509_crt_init( ssl->session_negotiate->peer_cert ); in ssl_tls13_parse_certificate() 651 ret = mbedtls_x509_crt_parse_der( ssl->session_negotiate->peer_cert, in ssl_tls13_parse_certificate() 701 MBEDTLS_SSL_DEBUG_CRT( 3, "peer certificate", ssl->session_negotiate->peer_cert ); in ssl_tls13_parse_certificate() 745 ssl->session_negotiate->peer_cert, in ssl_tls13_validate_certificate() [all …]
|
D | ssl_tls.c | 194 if( src->peer_cert != NULL ) in mbedtls_ssl_session_copy() 198 dst->peer_cert = mbedtls_calloc( 1, sizeof(mbedtls_x509_crt) ); in mbedtls_ssl_session_copy() 199 if( dst->peer_cert == NULL ) in mbedtls_ssl_session_copy() 202 mbedtls_x509_crt_init( dst->peer_cert ); in mbedtls_ssl_session_copy() 204 if( ( ret = mbedtls_x509_crt_parse_der( dst->peer_cert, src->peer_cert->raw.p, in mbedtls_ssl_session_copy() 205 src->peer_cert->raw.len ) ) != 0 ) in mbedtls_ssl_session_copy() 207 mbedtls_free( dst->peer_cert ); in mbedtls_ssl_session_copy() 208 dst->peer_cert = NULL; in mbedtls_ssl_session_copy() 1617 if( session->peer_cert != NULL ) in ssl_clear_peer_cert() 1619 mbedtls_x509_crt_free( session->peer_cert ); in ssl_clear_peer_cert() [all …]
|
/third_party/grpc/test/cpp/client/ |
D | credentials_test.cc | 79 arg->peer_cert = gpr_strdup("callback_peer_cert"); in tls_server_authorization_check_callback() 456 const char* peer_cert_before_callback = c_arg->peer_cert; in TEST_F() 463 EXPECT_STREQ(arg->peer_cert().c_str(), "callback_peer_cert"); in TEST_F() 471 gpr_free(const_cast<char*>(c_arg->peer_cert)); in TEST_F() 494 const char* peer_cert_before_schedule = c_arg->peer_cert; in TEST_F() 501 EXPECT_STREQ(arg->peer_cert().c_str(), "sync_peer_cert"); in TEST_F() 510 gpr_free(const_cast<char*>(c_arg->peer_cert)); in TEST_F() 528 c_arg.peer_cert = "peer_cert"; in TEST_F() 539 EXPECT_STREQ(c_arg.peer_cert, "sync_peer_cert"); in TEST_F() 549 gpr_free(const_cast<char*>(c_arg.peer_cert)); in TEST_F() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | authsrv.c | 179 data->peer_cert.depth, in authsrv_tls_event() 180 data->peer_cert.serial_num ? data->peer_cert.serial_num : "N/A", in authsrv_tls_event() 181 data->peer_cert.subject); in authsrv_tls_event()
|
/third_party/grpc/src/ruby/spec/ |
D | client_auth_spec.rb | 51 error_msg = "want:\n#{client_cert}\n\ngot:\n#{call.peer_cert}" 52 fail(error_msg) unless call.peer_cert == client_cert
|
/third_party/grpc/include/grpcpp/security/ |
D | tls_credentials_options.h | 65 std::string peer_cert() const; 74 void set_peer_cert(const std::string& peer_cert);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | authsrv.c | 159 data->peer_cert.depth, in authsrv_tls_event() 160 data->peer_cert.serial_num ? data->peer_cert.serial_num : "N/A", in authsrv_tls_event() 161 data->peer_cert.subject); in authsrv_tls_event()
|
/third_party/glib/gio/ |
D | gtlsconnection.h | 52 GTlsCertificate *peer_cert, 185 GTlsCertificate *peer_cert,
|
D | gdtlsconnection.h | 61 GTlsCertificate *peer_cert, 202 … GTlsCertificate *peer_cert,
|
D | gtlsconnection.c | 1058 GTlsCertificate *peer_cert, in g_tls_connection_emit_accept_certificate() argument 1064 peer_cert, errors, &accept); in g_tls_connection_emit_accept_certificate()
|
D | gdtlsconnection.c | 1008 GTlsCertificate *peer_cert, in g_dtls_connection_emit_accept_certificate() argument 1014 peer_cert, errors, &accept); in g_dtls_connection_emit_accept_certificate()
|
/third_party/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 239 check_arg_->peer_cert = check_arg_->peer_cert == nullptr in check_peer() 241 : check_arg_->peer_cert; in check_peer() 457 arg->peer_cert = nullptr; in ServerAuthorizationCheckArgCreate() 474 gpr_free(const_cast<char*>(arg->peer_cert)); in ServerAuthorizationCheckArgDestroy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
D | tlsv1_client_read.c | 296 ev.peer_cert.cert = cert_buf; in tls_peer_cert_event() 305 ev.peer_cert.hash = hash; in tls_peer_cert_event() 306 ev.peer_cert.hash_len = sizeof(hash); in tls_peer_cert_event() 311 ev.peer_cert.depth = depth; in tls_peer_cert_event() 313 ev.peer_cert.subject = subject; in tls_peer_cert_event() 317 ev.peer_cert.tod = 1; in tls_peer_cert_event() 320 ev.peer_cert.tod = 2; in tls_peer_cert_event() 343 ev.peer_cert.subject = subject; in tls_cert_chain_failure_event()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | tls_wolfssl.c | 93 WOLFSSL_X509 *peer_cert; member 875 ev.peer_cert.cert = cert; in wolfssl_tls_cert_event() 886 ev.peer_cert.hash = hash; in wolfssl_tls_cert_event() 887 ev.peer_cert.hash_len = sizeof(hash); in wolfssl_tls_cert_event() 892 ev.peer_cert.depth = depth; in wolfssl_tls_cert_event() 893 ev.peer_cert.subject = subject; in wolfssl_tls_cert_event() 934 ev.peer_cert.altsubject[alt] = alt_subject[alt]; in wolfssl_tls_cert_event() 935 ev.peer_cert.num_altsubject = num_alt_subject; in wolfssl_tls_cert_event() 975 conn->peer_cert = err_cert; in tls_verify_cb()
|
D | tls_openssl.c | 265 X509 *peer_cert; member 1649 if (!conn->peer_cert) in tls_connection_peer_serial_num() 1652 ser = X509_get_serialNumber(conn->peer_cert); in tls_connection_peer_serial_num() 2221 ev.peer_cert.cert = cert; in openssl_tls_cert_event() 2230 ev.peer_cert.hash = hash; in openssl_tls_cert_event() 2231 ev.peer_cert.hash_len = sizeof(hash); in openssl_tls_cert_event() 2235 ev.peer_cert.depth = depth; in openssl_tls_cert_event() 2236 ev.peer_cert.subject = subject; in openssl_tls_cert_event() 2243 ev.peer_cert.serial_num = serial_num; in openssl_tls_cert_event() 2285 ev.peer_cert.altsubject[alt] = altsubject[alt]; in openssl_tls_cert_event() [all …]
|
D | tls_gnutls.c | 1311 ev.peer_cert.cert = cert_buf; in tls_connection_verify_peer() 1317 ev.peer_cert.hash = hash; in tls_connection_verify_peer() 1318 ev.peer_cert.hash_len = sizeof(hash); in tls_connection_verify_peer() 1321 ev.peer_cert.depth = i; in tls_connection_verify_peer() 1322 ev.peer_cert.subject = buf; in tls_connection_verify_peer()
|
D | tls.h | 72 struct tls_cert_data peer_cert; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | tls_wolfssl.c | 94 WOLFSSL_X509 *peer_cert; member 879 ev.peer_cert.cert = cert; in wolfssl_tls_cert_event() 890 ev.peer_cert.hash = hash; in wolfssl_tls_cert_event() 891 ev.peer_cert.hash_len = sizeof(hash); in wolfssl_tls_cert_event() 896 ev.peer_cert.depth = depth; in wolfssl_tls_cert_event() 897 ev.peer_cert.subject = subject; in wolfssl_tls_cert_event() 941 ev.peer_cert.altsubject[alt] = alt_subject[alt]; in wolfssl_tls_cert_event() 942 ev.peer_cert.num_altsubject = num_alt_subject; in wolfssl_tls_cert_event() 982 conn->peer_cert = err_cert; in tls_verify_cb()
|
D | tls_openssl.c | 268 X509 *peer_cert; member 1660 if (!conn->peer_cert) in tls_connection_peer_serial_num() 1663 ser = X509_get_serialNumber(conn->peer_cert); in tls_connection_peer_serial_num() 2235 ev.peer_cert.cert = cert; in openssl_tls_cert_event() 2244 ev.peer_cert.hash = hash; in openssl_tls_cert_event() 2245 ev.peer_cert.hash_len = sizeof(hash); in openssl_tls_cert_event() 2249 ev.peer_cert.depth = depth; in openssl_tls_cert_event() 2250 ev.peer_cert.subject = subject; in openssl_tls_cert_event() 2257 ev.peer_cert.serial_num = serial_num; in openssl_tls_cert_event() 2299 ev.peer_cert.altsubject[alt] = altsubject[alt]; in openssl_tls_cert_event() [all …]
|
D | tls_gnutls.c | 1311 ev.peer_cert.cert = cert_buf; in tls_connection_verify_peer() 1317 ev.peer_cert.hash = hash; in tls_connection_verify_peer() 1318 ev.peer_cert.hash_len = sizeof(hash); in tls_connection_verify_peer() 1321 ev.peer_cert.depth = i; in tls_connection_verify_peer() 1322 ev.peer_cert.subject = buf; in tls_connection_verify_peer()
|
D | tls.h | 72 struct tls_cert_data peer_cert; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
D | tlsv1_client_read.c | 296 ev.peer_cert.cert = cert_buf; in tls_peer_cert_event() 305 ev.peer_cert.hash = hash; in tls_peer_cert_event() 306 ev.peer_cert.hash_len = sizeof(hash); in tls_peer_cert_event() 311 ev.peer_cert.depth = depth; in tls_peer_cert_event() 313 ev.peer_cert.subject = subject; in tls_peer_cert_event() 335 ev.peer_cert.subject = subject; in tls_cert_chain_failure_event()
|
/third_party/grpc/src/ruby/lib/grpc/generic/ |
D | active_call.rb | 578 def attach_peer_cert(peer_cert) argument 579 @peer_cert = peer_cert
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | http_curl.c | 62 X509 *peer_cert; member 1023 ctx->peer_cert = cert; in curl_cb_ssl_verify() 1203 if (!ctx->peer_cert) { in ocsp_resp_cb() 1219 id = OCSP_cert_to_id(EVP_sha256(), ctx->peer_cert, ctx->peer_issuer); in ocsp_resp_cb() 1232 id = OCSP_cert_to_id(NULL, ctx->peer_cert, ctx->peer_issuer); in ocsp_resp_cb()
|