Searched refs:CertPolicy (Results 1 – 9 of 9) sorted by relevance
122 net::CertPolicy::UNKNOWN); in TEST_F()124 net::CertPolicy::UNKNOWN); in TEST_F()126 net::CertPolicy::UNKNOWN); in TEST_F()131 net::CertPolicy::ALLOWED); in TEST_F()133 net::CertPolicy::UNKNOWN); in TEST_F()135 net::CertPolicy::UNKNOWN); in TEST_F()140 net::CertPolicy::ALLOWED); in TEST_F()142 net::CertPolicy::UNKNOWN); in TEST_F()144 net::CertPolicy::ALLOWED); in TEST_F()149 net::CertPolicy::ALLOWED); in TEST_F()[all …]
44 net::CertPolicy::Judgment QueryPolicy(58 std::map<std::string, net::CertPolicy> cert_policy_for_host_;
46 net::CertPolicy::Judgment judgment = in OnCertError()50 if (judgment == net::CertPolicy::ALLOWED) { in OnCertError()
36 net::CertPolicy::Judgment QueryPolicy(
36 net::CertPolicy::Judgment SSLPolicyBackend::QueryPolicy( in QueryPolicy()
40 net::CertPolicy::Judgment SSLHostState::QueryPolicy( in QueryPolicy()
49 CertPolicy::CertPolicy() { in CertPolicy() function in net::CertPolicy52 CertPolicy::~CertPolicy() { in ~CertPolicy()55 CertPolicy::Judgment CertPolicy::Check( in Check()76 void CertPolicy::Allow(X509Certificate* cert) { in Allow()82 void CertPolicy::Deny(X509Certificate* cert) { in Deny()88 bool CertPolicy::HasAllowedCert() const { in HasAllowedCert()92 bool CertPolicy::HasDeniedCert() const { in HasDeniedCert()
87 class CertPolicy {101 CertPolicy();102 ~CertPolicy();
716 CertPolicy policy; in TEST()718 EXPECT_EQ(policy.Check(google_cert.get()), CertPolicy::UNKNOWN); in TEST()719 EXPECT_EQ(policy.Check(webkit_cert.get()), CertPolicy::UNKNOWN); in TEST()725 EXPECT_EQ(policy.Check(google_cert.get()), CertPolicy::ALLOWED); in TEST()726 EXPECT_EQ(policy.Check(webkit_cert.get()), CertPolicy::UNKNOWN); in TEST()732 EXPECT_EQ(policy.Check(google_cert.get()), CertPolicy::DENIED); in TEST()733 EXPECT_EQ(policy.Check(webkit_cert.get()), CertPolicy::UNKNOWN); in TEST()739 EXPECT_EQ(policy.Check(google_cert.get()), CertPolicy::DENIED); in TEST()740 EXPECT_EQ(policy.Check(webkit_cert.get()), CertPolicy::ALLOWED); in TEST()