Lines Matching defs:HasPublicKeyPins
199 static bool HasPublicKeyPins(const char* hostname, bool sni_enabled) {
205 return domain_state.HasPublicKeyPins();
208 static bool HasPublicKeyPins(const char* hostname) {
209 return HasPublicKeyPins(hostname, true);
408 EXPECT_TRUE(HasPublicKeyPins("torproject.org"));
409 HasPublicKeyPins("www.torproject.org"));
410 EXPECT_TRUE(HasPublicKeyPins("check.torproject.org"));
411 EXPECT_TRUE(HasPublicKeyPins("blog.torproject.org"));
462 EXPECT_TRUE(HasPublicKeyPins("www.twitter.com"));
480 EXPECT_TRUE(HasPublicKeyPins("chrome.google.com"));
485 EXPECT_FALSE(HasPublicKeyPins("www.paypal.com"));
487 EXPECT_TRUE(HasPublicKeyPins("docs.google.com"));
488 EXPECT_TRUE(HasPublicKeyPins("1.docs.google.com"));
489 EXPECT_TRUE(HasPublicKeyPins("sites.google.com"));
490 EXPECT_TRUE(HasPublicKeyPins("drive.google.com"));
491 EXPECT_TRUE(HasPublicKeyPins("spreadsheets.google.com"));
492 EXPECT_TRUE(HasPublicKeyPins("health.google.com"));
493 EXPECT_TRUE(HasPublicKeyPins("checkout.google.com"));
494 EXPECT_TRUE(HasPublicKeyPins("appengine.google.com"));
495 EXPECT_TRUE(HasPublicKeyPins("market.android.com"));
496 EXPECT_TRUE(HasPublicKeyPins("encrypted.google.com"));
497 EXPECT_TRUE(HasPublicKeyPins("accounts.google.com"));
498 EXPECT_TRUE(HasPublicKeyPins("profiles.google.com"));
499 EXPECT_TRUE(HasPublicKeyPins("mail.google.com"));
500 EXPECT_TRUE(HasPublicKeyPins("chatenabled.mail.google.com"));
501 EXPECT_TRUE(HasPublicKeyPins("talkgadget.google.com"));
502 EXPECT_TRUE(HasPublicKeyPins("hostedtalkgadget.google.com"));
503 EXPECT_TRUE(HasPublicKeyPins("talk.google.com"));
504 EXPECT_TRUE(HasPublicKeyPins("plus.google.com"));
505 EXPECT_TRUE(HasPublicKeyPins("groups.google.com"));
506 EXPECT_TRUE(HasPublicKeyPins("apis.google.com"));
508 EXPECT_TRUE(HasPublicKeyPins("ssl.gstatic.com"));
509 EXPECT_FALSE(HasPublicKeyPins("www.gstatic.com"));
510 EXPECT_TRUE(HasPublicKeyPins("ssl.google-analytics.com"));
511 EXPECT_TRUE(HasPublicKeyPins("www.googleplex.com"));
514 EXPECT_TRUE(HasPublicKeyPins("twitter.com"));
515 EXPECT_FALSE(HasPublicKeyPins("foo.twitter.com"));
516 EXPECT_TRUE(HasPublicKeyPins("www.twitter.com"));
517 EXPECT_TRUE(HasPublicKeyPins("api.twitter.com"));
518 EXPECT_TRUE(HasPublicKeyPins("oauth.twitter.com"));
519 EXPECT_TRUE(HasPublicKeyPins("mobile.twitter.com"));
520 EXPECT_TRUE(HasPublicKeyPins("dev.twitter.com"));
521 EXPECT_TRUE(HasPublicKeyPins("business.twitter.com"));
522 EXPECT_TRUE(HasPublicKeyPins("platform.twitter.com"));
523 EXPECT_TRUE(HasPublicKeyPins("si0.twimg.com"));
524 EXPECT_TRUE(HasPublicKeyPins("twimg0-a.akamaihd.net"));
568 EXPECT_TRUE(domain_state.HasPublicKeyPins());
604 EXPECT_TRUE(domain_state.HasPublicKeyPins());
633 EXPECT_TRUE(domain_state.HasPublicKeyPins());
710 EXPECT_FALSE(HasPublicKeyPins("www.google-analytics.com", false));
711 EXPECT_TRUE(HasPublicKeyPins("www.google-analytics.com"));
712 EXPECT_TRUE(HasPublicKeyPins("google.com"));
713 EXPECT_TRUE(HasPublicKeyPins("www.google.com"));
714 EXPECT_TRUE(HasPublicKeyPins("mail-attachment.googleusercontent.com"));
715 EXPECT_TRUE(HasPublicKeyPins("www.youtube.com"));
716 EXPECT_TRUE(HasPublicKeyPins("i.ytimg.com"));
717 EXPECT_TRUE(HasPublicKeyPins("googleapis.com"));
718 EXPECT_TRUE(HasPublicKeyPins("ajax.googleapis.com"));
719 EXPECT_TRUE(HasPublicKeyPins("googleadservices.com"));
720 EXPECT_TRUE(HasPublicKeyPins("pagead2.googleadservices.com"));
721 EXPECT_TRUE(HasPublicKeyPins("googlecode.com"));
722 EXPECT_TRUE(HasPublicKeyPins("kibbles.googlecode.com"));
723 EXPECT_TRUE(HasPublicKeyPins("appspot.com"));
724 EXPECT_TRUE(HasPublicKeyPins("googlesyndication.com"));
725 EXPECT_TRUE(HasPublicKeyPins("doubleclick.net"));
726 EXPECT_TRUE(HasPublicKeyPins("ad.doubleclick.net"));
727 EXPECT_FALSE(HasPublicKeyPins("learn.doubleclick.net"));
728 EXPECT_TRUE(HasPublicKeyPins("a.googlegroups.com"));
729 EXPECT_FALSE(HasPublicKeyPins("a.googlegroups.com", false));
733 EXPECT_TRUE(HasPublicKeyPins("google.com"));