Home
last modified time | relevance | path

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

12

/third_party/grpc/test/core/security/
Dsecurity_connector_test.cc56 static int check_peer_property(const tsi_peer* peer, in check_peer_property()
71 static int check_ssl_peer_equivalence(const tsi_peer* original, in check_ssl_peer_equivalence()
72 const tsi_peer* reconstructed) { in check_ssl_peer_equivalence()
109 tsi_peer peer; in test_unauthenticated_ssl_peer()
110 tsi_peer rpeer; in test_unauthenticated_ssl_peer()
255 tsi_peer peer; in test_cn_only_ssl_peer_to_auth_context()
256 tsi_peer rpeer; in test_cn_only_ssl_peer_to_auth_context()
297 tsi_peer peer; in test_cn_and_one_san_ssl_peer_to_auth_context()
298 tsi_peer rpeer; in test_cn_and_one_san_ssl_peer_to_auth_context()
343 tsi_peer peer; in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
[all …]
Dalts_security_connector_test.cc42 tsi_peer peer; in test_empty_certificate_type_failure()
51 tsi_peer peer; in test_empty_peer_property_failure()
63 tsi_peer peer; in test_missing_rpc_protocol_versions_property_failure()
78 tsi_peer peer; in test_missing_security_level_property_failure()
111 tsi_peer peer; in test_unknown_peer_property_failure()
147 tsi_peer peer; in test_alts_peer_to_auth_context_success()
Dtls_security_connector_test.cc282 tsi_peer peer; in TEST_F()
297 tsi_peer peer; in TEST_F()
/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.h47 grpc_error* grpc_ssl_check_alpn(const tsi_peer* peer);
51 const tsi_peer* peer);
105 const tsi_peer* peer, const char* transport_security_type);
106 tsi_peer grpc_shallow_peer_from_ssl_auth_context(
108 void grpc_shallow_peer_destruct(tsi_peer* peer);
109 int grpc_ssl_host_matches_name(const tsi_peer* peer,
Dssl_utils.cc153 grpc_error* grpc_ssl_check_alpn(const tsi_peer* peer) { in grpc_ssl_check_alpn()
171 const tsi_peer* peer) { in grpc_ssl_check_peer_name()
187 tsi_peer peer = grpc_shallow_peer_from_ssl_auth_context(auth_context); in grpc_ssl_check_call_host()
214 int grpc_ssl_host_matches_name(const tsi_peer* peer, in grpc_ssl_host_matches_name()
260 const tsi_peer* peer, const char* transport_security_type) { in grpc_ssl_peer_to_auth_context()
335 static void add_shallow_auth_property_to_peer(tsi_peer* peer, in add_shallow_auth_property_to_peer()
344 tsi_peer grpc_shallow_peer_from_ssl_auth_context( in grpc_shallow_peer_from_ssl_auth_context()
349 tsi_peer peer; in grpc_shallow_peer_from_ssl_auth_context()
386 void grpc_shallow_peer_destruct(tsi_peer* peer) { in grpc_shallow_peer_destruct()
Dsecurity_connector.h61 tsi_peer peer, grpc_endpoint* ep,
/third_party/grpc/src/core/tsi/
Dtransport_security.h64 tsi_result (*extract_peer)(tsi_handshaker* self, tsi_peer* peer);
93 tsi_result (*extract_peer)(const tsi_handshaker_result* self, tsi_peer* peer);
111 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer);
122 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer,
Dtransport_security.cc182 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer) { in tsi_handshaker_extract_peer()
186 memset(peer, 0, sizeof(tsi_peer)); in tsi_handshaker_extract_peer()
245 tsi_peer* peer) { in tsi_handshaker_result_extract_peer()
249 memset(peer, 0, sizeof(tsi_peer)); in tsi_handshaker_result_extract_peer()
308 void tsi_peer_destruct(tsi_peer* self) { in tsi_peer_destruct()
347 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer) { in tsi_construct_peer()
348 memset(peer, 0, sizeof(tsi_peer)); in tsi_construct_peer()
357 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer, in tsi_peer_get_property_by_name()
Dtransport_security_interface.h216 struct tsi_peer { struct
221 void tsi_peer_destruct(tsi_peer* self);
235 tsi_peer* peer);
403 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer);
Dssl_transport_security.h333 int tsi_ssl_peer_matches_name(const tsi_peer* peer, absl::string_view name);
359 const char* pem_cert, tsi_peer* peer);
Dssl_transport_security.cc106 tsi_peer* ssl_context_x509_subject_names;
347 tsi_peer* peer, GENERAL_NAMES* subject_alt_names, in add_subject_alt_names_properties_to_peer()
424 tsi_peer* peer) { in peer_from_x509()
833 const char* pem_cert, tsi_peer* peer) { in tsi_ssl_extract_x509_subject_names_from_pem_cert()
1226 const tsi_handshaker_result* self, tsi_peer* peer) { in ssl_handshaker_result_extract_peer()
2055 impl->ssl_context_x509_subject_names = static_cast<tsi_peer*>( in tsi_create_ssl_server_handshaker_factory_with_options()
2056 gpr_zalloc(options->num_key_cert_pairs * sizeof(tsi_peer))); in tsi_create_ssl_server_handshaker_factory_with_options()
2183 int tsi_ssl_peer_matches_name(const tsi_peer* peer, absl::string_view name) { in tsi_ssl_peer_matches_name()
Dlocal_transport_security.cc110 const tsi_handshaker_result* /*self*/, tsi_peer* /*peer*/) { in handshaker_result_extract_peer() argument
/third_party/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc50 const tsi_peer* peer) { in local_auth_context_create()
69 void local_check_peer(tsi_peer peer, grpc_endpoint* ep, in local_check_peer()
175 void check_peer(tsi_peer peer, grpc_endpoint* ep, in check_peer()
224 void check_peer(tsi_peer peer, grpc_endpoint* ep, in check_peer()
/third_party/grpc/src/core/lib/security/security_connector/insecure/
Dinsecure_security_connector.h59 void check_peer(tsi_peer peer, grpc_endpoint* ep,
77 void check_peer(tsi_peer peer, grpc_endpoint* ep,
Dinsecure_security_connector.cc79 tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
107 tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
/third_party/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc51 void alts_check_peer(tsi_peer peer, in alts_check_peer()
100 void check_peer(tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
165 void check_peer(tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
181 grpc_alts_auth_context_from_tsi_peer(const tsi_peer* peer) { in grpc_alts_auth_context_from_tsi_peer()
Dalts_security_connector.h70 grpc_alts_auth_context_from_tsi_peer(const tsi_peer* peer);
/third_party/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc78 void check_peer(tsi_peer peer, grpc_endpoint* ep,
213 grpc_security_connector* /*sc*/, tsi_peer peer, in fake_check_peer()
268 tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
284 void check_peer(tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
/third_party/grpc/test/core/tsi/
Dtransport_security_test.cc260 static tsi_peer peer_from_cert_name_test_entry( in peer_from_cert_name_test_entry()
263 tsi_peer peer; in peer_from_cert_name_test_entry()
311 tsi_peer peer = peer_from_cert_name_test_entry(entry); in test_peer_matches_name()
374 tsi_peer peer; in test_handshaker_invalid_state()
Dssl_transport_security_test.cc183 const tsi_peer* peer) { in check_alpn()
199 static void check_security_level(const tsi_peer* peer) { in check_security_level()
209 check_basic_authenticated_peer_and_get_common_name(const tsi_peer* peer) { in check_basic_authenticated_peer_and_get_common_name()
222 tsi_peer* peer) { in check_session_reusage()
235 void check_server0_peer(tsi_peer* peer) { in check_server0_peer()
256 static bool check_subject_alt_name(tsi_peer* peer, const char* name) { in check_subject_alt_name()
270 static bool check_uri(tsi_peer* peer, const char* name) { in check_uri()
283 void check_server1_peer(tsi_peer* peer) { in check_server1_peer()
303 tsi_peer* peer) { in check_client_peer()
326 tsi_peer peer; in ssl_test_check_handshaker_peers()
[all …]
Dfake_transport_security_test.cc46 tsi_peer peer; in validate_handshaker_peers()
/third_party/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.h59 void check_peer(tsi_peer peer, grpc_endpoint* ep,
160 void check_peer(tsi_peer peer, grpc_endpoint* ep,
221 grpc_error* TlsCheckHostName(const char* peer_name, const tsi_peer* peer);
Dtls_security_connector.cc201 tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
571 tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
669 grpc_error* TlsCheckHostName(const char* peer_name, const tsi_peer* peer) { in TlsCheckHostName()
/third_party/grpc/src/core/lib/security/security_connector/ssl/
Dssl_security_connector.cc49 const char* peer_name, const tsi_peer* peer, in ssl_check_peer()
142 void check_peer(tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
288 void check_peer(tsi_peer peer, grpc_endpoint* /*ep*/, in check_peer()
/third_party/grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc239 tsi_peer peer; in on_client_start_success_cb()
266 tsi_peer peer; in on_server_start_success_cb()
304 tsi_peer peer; in on_client_next_success_cb()
378 tsi_peer peer; in on_server_next_success_cb()

12