Home
last modified time | relevance | path

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

12

/external/grpc-grpc/test/core/security/
Dsecurity_connector_test.cc51 static int check_peer_property(const tsi_peer* peer, in check_peer_property()
66 static int check_ssl_peer_equivalence(const tsi_peer* original, in check_ssl_peer_equivalence()
67 const tsi_peer* reconstructed) { in check_ssl_peer_equivalence()
83 tsi_peer peer; in test_unauthenticated_ssl_peer()
84 tsi_peer rpeer; in test_unauthenticated_ssl_peer()
175 tsi_peer peer; in test_cn_only_ssl_peer_to_auth_context()
176 tsi_peer rpeer; in test_cn_only_ssl_peer_to_auth_context()
207 tsi_peer peer; in test_cn_and_one_san_ssl_peer_to_auth_context()
208 tsi_peer rpeer; in test_cn_and_one_san_ssl_peer_to_auth_context()
244 tsi_peer peer; in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
[all …]
Dalts_security_connector_test.cc36 tsi_peer peer; in test_invalid_input_failure()
45 tsi_peer peer; in test_empty_certificate_type_failure()
55 tsi_peer peer; in test_empty_peer_property_failure()
68 tsi_peer peer; in test_missing_rpc_protocol_versions_property_failure()
84 tsi_peer peer; in test_unknown_peer_property_failure()
121 tsi_peer peer; in test_alts_peer_to_auth_context_success()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.h56 void (*check_peer)(grpc_security_connector* sc, tsi_peer peer,
91 tsi_peer peer,
239 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer,
243 grpc_auth_context* grpc_ssl_peer_to_auth_context(const tsi_peer* peer);
244 tsi_peer grpc_shallow_peer_from_ssl_auth_context(
246 void grpc_shallow_peer_destruct(tsi_peer* peer);
247 int grpc_ssl_host_matches_name(const tsi_peer* peer, const char* peer_name);
Dsecurity_connector.cc104 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer, in tsi_peer_get_property_by_name()
138 tsi_peer peer, in grpc_security_connector_check_peer()
398 static void fake_check_peer(grpc_security_connector* sc, tsi_peer peer,
434 static void fake_channel_check_peer(grpc_security_connector* sc, tsi_peer peer,
443 static void fake_server_check_peer(grpc_security_connector* sc, tsi_peer peer,
800 int grpc_ssl_host_matches_name(const tsi_peer* peer, const char* peer_name) {
819 grpc_auth_context* grpc_ssl_peer_to_auth_context(const tsi_peer* peer) {
861 const char* peer_name, const tsi_peer* peer,
888 static void ssl_channel_check_peer(grpc_security_connector* sc, tsi_peer peer,
925 static void ssl_server_check_peer(grpc_security_connector* sc, tsi_peer peer,
[all …]
Dalts_security_connector.h63 const tsi_peer* peer, grpc_auth_context** ctx);
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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_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);
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()
Dssl_transport_security.h336 int tsi_ssl_peer_matches_name(const tsi_peer* peer, absl::string_view name);
362 const char* pem_cert, tsi_peer* peer);
/external/grpc-grpc/src/core/tsi/
Dtransport_security_interface.h201 } tsi_peer; typedef
204 void tsi_peer_destruct(tsi_peer* self);
218 tsi_peer* peer);
386 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer);
Dtransport_security.cc167 tsi_result tsi_handshaker_extract_peer(tsi_handshaker* self, tsi_peer* peer) { in tsi_handshaker_extract_peer()
171 memset(peer, 0, sizeof(tsi_peer)); in tsi_handshaker_extract_peer()
230 tsi_peer* peer) { in tsi_handshaker_result_extract_peer()
234 memset(peer, 0, sizeof(tsi_peer)); in tsi_handshaker_result_extract_peer()
293 void tsi_peer_destruct(tsi_peer* self) { in tsi_peer_destruct()
332 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer) { in tsi_construct_peer()
333 memset(peer, 0, sizeof(tsi_peer)); in tsi_construct_peer()
Dtransport_security.h65 tsi_result (*extract_peer)(tsi_handshaker* self, tsi_peer* peer);
95 tsi_result (*extract_peer)(const tsi_handshaker_result* self, tsi_peer* peer);
114 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer);
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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()
/external/rust/crates/grpcio-sys/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);
/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test.cc256 static tsi_peer peer_from_cert_name_test_entry( in peer_from_cert_name_test_entry()
259 tsi_peer peer; in peer_from_cert_name_test_entry()
310 tsi_peer peer = peer_from_cert_name_test_entry(entry); in test_peer_matches_name()
375 tsi_peer peer; in test_handshaker_invalid_state()
Dssl_transport_security_test.cc176 const tsi_peer* peer) { in check_alpn()
193 check_basic_authenticated_peer_and_get_common_name(const tsi_peer* peer) { in check_basic_authenticated_peer_and_get_common_name()
206 tsi_peer* peer) { in check_session_reusage()
219 void check_server0_peer(tsi_peer* peer) { in check_server0_peer()
237 static bool check_subject_alt_name(tsi_peer* peer, const char* name) { in check_subject_alt_name()
250 void check_server1_peer(tsi_peer* peer) { in check_server1_peer()
270 tsi_peer* peer) { in check_client_peer()
293 tsi_peer peer; in ssl_test_check_handshaker_peers()
/external/rust/crates/grpcio-sys/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);

12