Home
last modified time | relevance | path

Searched refs:GetPeerIdentity (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/cpp/common/
Dsecure_auth_context_test.cc37 EXPECT_TRUE(context.GetPeerIdentity().empty()); in TEST_F()
52 std::vector<grpc::string_ref> peer_identity = context.GetPeerIdentity(); in TEST_F()
/external/grpc-grpc/src/cpp/common/
Dsecure_auth_context.h36 std::vector<grpc::string_ref> GetPeerIdentity() const override;
Dsecure_auth_context.cc33 std::vector<grpc::string_ref> SecureAuthContext::GetPeerIdentity() const { in GetPeerIdentity() function in grpc::SecureAuthContext
/external/grpc-grpc/include/grpcpp/impl/codegen/security/
Dauth_context.h76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0;
/external/grpc-grpc/test/cpp/end2end/
Dtest_service_impl.cc63 EXPECT_TRUE(auth_ctx->GetPeerIdentity().empty()); in CheckServerAuthContext()
66 auto identity = auth_ctx->GetPeerIdentity(); in CheckServerAuthContext()
Dend2end_test.cc1749 EXPECT_EQ(4u, auth_ctx->GetPeerIdentity().size()); in TEST_P()
1750 EXPECT_EQ("*.test.google.fr", ToString(auth_ctx->GetPeerIdentity()[0])); in TEST_P()
1752 ToString(auth_ctx->GetPeerIdentity()[1])); in TEST_P()
1753 EXPECT_EQ("*.test.youtube.com", ToString(auth_ctx->GetPeerIdentity()[2])); in TEST_P()
1754 EXPECT_EQ("192.168.1.3", ToString(auth_ctx->GetPeerIdentity()[3])); in TEST_P()