Home
last modified time | relevance | path

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

/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);
Dalts_security_connector.cc108 const tsi_peer* peer, grpc_auth_context** ctx) { in grpc_alts_auth_context_from_tsi_peer()
178 static void alts_check_peer(grpc_security_connector* sc, tsi_peer peer, in alts_check_peer()
Dlocal_security_connector.cc125 static void local_check_peer(grpc_security_connector* sc, tsi_peer peer, in local_check_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);
Dssl_transport_security.cc100 tsi_peer* ssl_context_x509_subject_names;
339 tsi_peer* peer, GENERAL_NAMES* subject_alt_names, in add_subject_alt_names_properties_to_peer()
397 tsi_peer* peer) { in peer_from_x509()
698 tsi_peer* peer) { in extract_x509_subject_names_from_pem_cert()
1012 const tsi_handshaker_result* self, tsi_peer* peer) { in ssl_handshaker_result_extract_peer()
1788 impl->ssl_context_x509_subject_names = static_cast<tsi_peer*>( in tsi_create_ssl_server_handshaker_factory_with_options()
1789 gpr_zalloc(options->num_key_cert_pairs * sizeof(tsi_peer))); in tsi_create_ssl_server_handshaker_factory_with_options()
1909 int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name) { in tsi_ssl_peer_matches_name()
Dssl_transport_security.h289 int tsi_ssl_peer_matches_name(const tsi_peer* peer, const char* name);
Dlocal_transport_security.cc107 const tsi_handshaker_result* self, tsi_peer* peer) { in handshaker_result_extract_peer()
Dfake_transport_security.cc497 const tsi_handshaker_result* self, tsi_peer* peer) { in fake_handshaker_result_extract_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()
Dfake_transport_security_test.cc45 tsi_peer peer; in validate_handshaker_peers()
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc197 tsi_peer peer; in on_client_start_success_cb()
224 tsi_peer peer; in on_server_start_success_cb()
251 tsi_peer peer; in on_client_next_success_cb()
288 tsi_peer peer; in on_server_next_success_cb()
/external/grpc-grpc/src/core/lib/http/
Dhttpcli_security_connector.cc70 static void httpcli_ssl_check_peer(grpc_security_connector* sc, tsi_peer peer, in httpcli_ssl_check_peer()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc70 const tsi_handshaker_result* self, tsi_peer* peer) { in handshaker_result_extract_peer()
/external/grpc-grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc218 tsi_peer peer; in check_peer_locked()