Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/security/
Dalts_security_connector_test.cc47 GPR_ASSERT(tsi_construct_peer(0, &peer) == TSI_OK); in test_empty_certificate_type_failure()
57 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_empty_peer_property_failure()
70 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_missing_rpc_protocol_versions_property_failure()
86 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_unknown_peer_property_failure()
123 GPR_ASSERT(tsi_construct_peer(kTsiAltsNumOfPeerProperties, &peer) == TSI_OK); in test_alts_peer_to_auth_context_success()
Dsecurity_connector_test.cc86 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_unauthenticated_ssl_peer()
180 GPR_ASSERT(tsi_construct_peer(3, &peer) == TSI_OK); in test_cn_only_ssl_peer_to_auth_context()
213 GPR_ASSERT(tsi_construct_peer(4, &peer) == TSI_OK); in test_cn_and_one_san_ssl_peer_to_auth_context()
251 GPR_ASSERT(tsi_construct_peer(3 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_ssl_peer_to_auth_context()
293 GPR_ASSERT(tsi_construct_peer(5 + GPR_ARRAY_SIZE(expected_sans), &peer) == in test_cn_and_multiple_sans_and_others_ssl_peer_to_auth_context()
353 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_ipv6_address_san()
/external/grpc-grpc/src/core/tsi/
Dtransport_security.h114 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer);
Dtransport_security.cc332 tsi_result tsi_construct_peer(size_t property_count, tsi_peer* peer) { in tsi_construct_peer() function
Dfake_transport_security.cc499 tsi_result result = tsi_construct_peer(1, peer); in fake_handshaker_result_extract_peer()
Dssl_transport_security.cc411 result = tsi_construct_peer(property_count, peer); in peer_from_x509()
/external/grpc-grpc/test/core/tsi/
Dtransport_security_test.cc264 GPR_ASSERT(tsi_construct_peer( in peer_from_cert_name_test_entry()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc79 tsi_result ok = tsi_construct_peer(kTsiAltsNumOfPeerProperties, peer); in handshaker_result_extract_peer()