Searched refs:auth_ctx (Results 1 – 3 of 3) sorted by relevance
56 std::shared_ptr<const AuthContext> auth_ctx = context->auth_context(); in CheckServerAuthContext() local58 auth_ctx->FindPropertyValues("transport_security_type"); in CheckServerAuthContext()62 EXPECT_TRUE(auth_ctx->GetPeerIdentityPropertyName().empty()); in CheckServerAuthContext()63 EXPECT_TRUE(auth_ctx->GetPeerIdentity().empty()); in CheckServerAuthContext()64 EXPECT_FALSE(auth_ctx->IsPeerAuthenticated()); in CheckServerAuthContext()66 auto identity = auth_ctx->GetPeerIdentity(); in CheckServerAuthContext()67 EXPECT_TRUE(auth_ctx->IsPeerAuthenticated()); in CheckServerAuthContext()
1741 std::shared_ptr<const AuthContext> auth_ctx = context.auth_context(); in TEST_P() local1743 auth_ctx->FindPropertyValues("transport_security_type"); in TEST_P()1748 auth_ctx->GetPeerIdentityPropertyName()); in TEST_P()1749 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()
137 auth_ctx = auth_data[_AUTH_CTX]140 self.assertSequenceEqual([b'ssl'], auth_ctx['transport_security_type'])142 auth_ctx['x509_common_name'])