/external/grpc-grpc/test/core/security/ |
D | security_connector_test.cc | 51 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 …]
|
D | alts_security_connector_test.cc | 36 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/ |
D | security_connector.h | 56 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);
|
D | security_connector.cc | 104 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 …]
|
D | alts_security_connector.h | 63 const tsi_peer* peer, grpc_auth_context** ctx);
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | security_connector_test.cc | 56 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 …]
|
D | alts_security_connector_test.cc | 42 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/ |
D | ssl_utils.h | 47 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,
|
D | ssl_utils.cc | 153 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/ |
D | transport_security.h | 64 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,
|
D | transport_security_interface.h | 216 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);
|
D | transport_security.cc | 182 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()
|
D | ssl_transport_security.h | 336 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/ |
D | transport_security_interface.h | 201 } 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);
|
D | transport_security.cc | 167 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()
|
D | transport_security.h | 65 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/ |
D | insecure_security_connector.h | 59 void check_peer(tsi_peer peer, grpc_endpoint* ep, 77 void check_peer(tsi_peer peer, grpc_endpoint* ep,
|
D | insecure_security_connector.cc | 79 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/ |
D | local_security_connector.cc | 50 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/ |
D | alts_security_connector.cc | 51 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()
|
D | alts_security_connector.h | 70 grpc_alts_auth_context_from_tsi_peer(const tsi_peer* peer);
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/ |
D | fake_security_connector.cc | 78 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/ |
D | transport_security_test.cc | 256 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()
|
D | ssl_transport_security_test.cc | 176 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/ |
D | tls_security_connector.h | 59 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);
|