Home
last modified time | relevance | path

Searched refs:tsi_construct_peer (Results 1 – 9 of 9) sorted by relevance

/third_party/grpc/test/core/security/
Dalts_security_connector_test.cc43 GPR_ASSERT(tsi_construct_peer(0, &peer) == TSI_OK); in test_empty_certificate_type_failure()
52 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_empty_peer_property_failure()
64 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_missing_rpc_protocol_versions_property_failure()
79 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_missing_security_level_property_failure()
112 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_unknown_peer_property_failure()
148 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_alts_peer_to_auth_context_success()
Dsecurity_connector_test.cc111 GPR_ASSERT(tsi_construct_peer(2, &peer) == TSI_OK); in test_unauthenticated_ssl_peer()
260 GPR_ASSERT(tsi_construct_peer(5, &peer) == TSI_OK); in test_cn_only_ssl_peer_to_auth_context()
303 GPR_ASSERT(tsi_construct_peer(6, &peer) == TSI_OK); in test_cn_and_one_san_ssl_peer_to_auth_context()
350 GPR_ASSERT(tsi_construct_peer(5 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
401 GPR_ASSERT(tsi_construct_peer(7 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
461 GPR_ASSERT(tsi_construct_peer(invalid_spiffe_id.size(), &invalid_peer) == in test_spiffe_id_peer_to_auth_context()
478 GPR_ASSERT(tsi_construct_peer(1, &valid_peer) == TSI_OK); in test_spiffe_id_peer_to_auth_context()
493 GPR_ASSERT(tsi_construct_peer(multiple_spiffe_id.size(), &multiple_peer) == in test_spiffe_id_peer_to_auth_context()
512 GPR_ASSERT(tsi_construct_peer(multiple_uri.size(), &multiple_uri_peer) == in test_spiffe_id_peer_to_auth_context()
551 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_ipv6_address_san()
[all …]
Dtls_security_connector_test.cc283 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in TEST_F()
298 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in TEST_F()
/third_party/grpc/src/core/tsi/
Dtransport_security.h111 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer);
Dtransport_security.cc347 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer) { in tsi_construct_peer() function
Dfake_transport_security.cc495 tsi_result result = tsi_construct_peer(2, peer); in fake_handshaker_result_extract_peer()
Dssl_transport_security.cc445 result = tsi_construct_peer(property_count, peer); in peer_from_x509()
/third_party/grpc/test/core/tsi/
Dtransport_security_test.cc268 GPR_ASSERT(tsi_construct_peer( in peer_from_cert_name_test_entry()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc96 tsi_result ok = tsi_construct_peer(kTsiAltsNumOfPeerProperties, peer); in handshaker_result_extract_peer()