Searched refs:google_cert (Results 1 – 3 of 3) sorted by relevance
/external/chromium/chrome/browser/ssl/ |
D | ssl_host_state_unittest.cc | 115 scoped_refptr<net::X509Certificate> google_cert( in TEST_F() local 121 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "www.google.com"), in TEST_F() 123 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "google.com"), in TEST_F() 125 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "example.com"), in TEST_F() 128 state.AllowCertForHost(google_cert.get(), "www.google.com"); in TEST_F() 130 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "www.google.com"), in TEST_F() 132 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "google.com"), in TEST_F() 134 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "example.com"), in TEST_F() 137 state.AllowCertForHost(google_cert.get(), "example.com"); in TEST_F() 139 EXPECT_EQ(state.QueryPolicy(google_cert.get(), "www.google.com"), in TEST_F() [all …]
|
/external/chromium/net/base/ |
D | cert_verifier_unittest.cc | 47 scoped_refptr<X509Certificate> google_cert( in TEST_F() local 49 ASSERT_NE(static_cast<X509Certificate*>(NULL), google_cert); in TEST_F() 56 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F() 66 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F() 85 scoped_refptr<X509Certificate> google_cert( in TEST_F() local 87 ASSERT_NE(static_cast<X509Certificate*>(NULL), google_cert); in TEST_F() 97 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result, in TEST_F() 101 error = verifier.Verify(google_cert, "www.example.com", 0, &verify_result2, in TEST_F() 122 scoped_refptr<X509Certificate> google_cert( in TEST_F() local 124 ASSERT_NE(static_cast<X509Certificate*>(NULL), google_cert); in TEST_F() [all …]
|
D | x509_certificate_unittest.cc | 185 void CheckGoogleCert(const scoped_refptr<X509Certificate>& google_cert, in CheckGoogleCert() argument 188 ASSERT_NE(static_cast<X509Certificate*>(NULL), google_cert); in CheckGoogleCert() 190 const CertPrincipal& subject = google_cert->subject(); in CheckGoogleCert() 201 const CertPrincipal& issuer = google_cert->issuer(); in CheckGoogleCert() 213 const Time& valid_start = google_cert->valid_start(); in CheckGoogleCert() 216 const Time& valid_expiry = google_cert->valid_expiry(); in CheckGoogleCert() 219 const SHA1Fingerprint& fingerprint = google_cert->fingerprint(); in CheckGoogleCert() 224 google_cert->GetDNSNames(&dns_names); in CheckGoogleCert() 233 EXPECT_EQ(OK, google_cert->Verify("www.google.com", flags, &verify_result)); in CheckGoogleCert() 239 scoped_refptr<X509Certificate> google_cert( in TEST() local [all …]
|