Home
last modified time | relevance | path

Searched refs:spki_hashes (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/http/
Dhttp_security_headers_unittest.cc511 EXPECT_GT(static_domain_state.pkp.spki_hashes.size(), 1UL); in TEST_F()
512 HashValueVector saved_hashes = static_domain_state.pkp.spki_hashes; in TEST_F()
533 new_static_domain_state.pkp.spki_hashes[i])); in TEST_F()
539 EXPECT_EQ(2UL, dynamic_domain_state.pkp.spki_hashes.size()); in TEST_F()
542 std::find_if(dynamic_domain_state.pkp.spki_hashes.begin(), in TEST_F()
543 dynamic_domain_state.pkp.spki_hashes.end(), in TEST_F()
545 EXPECT_NE(dynamic_domain_state.pkp.spki_hashes.end(), hash); in TEST_F()
547 hash = std::find_if(dynamic_domain_state.pkp.spki_hashes.begin(), in TEST_F()
548 dynamic_domain_state.pkp.spki_hashes.end(), in TEST_F()
550 EXPECT_NE(dynamic_domain_state.pkp.spki_hashes.end(), hash); in TEST_F()
[all …]
Dtransport_security_persister_unittest.cc177 domain_state.pkp.spki_hashes.push_back(sha1); in TEST_F()
192 kTestDomain, expiry, include_subdomains, domain_state.pkp.spki_hashes); in TEST_F()
200 EXPECT_EQ(1u, new_domain_state.pkp.spki_hashes.size()); in TEST_F()
201 EXPECT_EQ(sha1.tag, new_domain_state.pkp.spki_hashes[0].tag); in TEST_F()
203 memcmp(new_domain_state.pkp.spki_hashes[0].data(), in TEST_F()
Dtransport_security_state.cc226 i->second.pkp.spki_hashes.clear(); in DeleteAllDynamicDataSince()
593 AddHash(*sha1_hash, &out->pkp.spki_hashes); in HasPreload()
676 &domain_state.pkp.spki_hashes)) { in AddHPKPHeader()
679 domain_state.pkp.spki_hashes.clear(); in AddHPKPHeader()
728 domain_state.pkp.spki_hashes = hashes; in AddHPKP()
896 if (pkp.spki_hashes.empty()) in CheckPublicKeyPins()
899 if (HashesIntersect(pkp.spki_hashes, hashes)) { in CheckPublicKeyPins()
905 ", expected: " + HashesToBase64String(pkp.spki_hashes)); in CheckPublicKeyPins()
918 return pkp.spki_hashes.size() > 0 || pkp.bad_spki_hashes.size() > 0; in HasPublicKeyPins()
Dtransport_security_state_unittest.cc181 EXPECT_FALSE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
191 EXPECT_TRUE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
260 return (domain_state.pkp.spki_hashes.size() > 0 || in OnlyPinningInStaticState()
505 EXPECT_FALSE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
507 EXPECT_FALSE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
510 EXPECT_FALSE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
512 EXPECT_FALSE(domain_state.pkp.spki_hashes.empty()); in TEST_F()
Dtransport_security_persister.cc175 SPKIHashesToListValue(domain_state.pkp.spki_hashes)); in SerializeData()
251 SPKIHashesFromListValue(*pins_list, &domain_state.pkp.spki_hashes); in Deserialize()
Dtransport_security_state.h91 HashValueVector spki_hashes; in NON_EXPORTED_BASE() member
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui.cc1119 HashesToBase64String(static_state.pkp.spki_hashes)); in OnHSTSQuery()
1142 HashesToBase64String(dynamic_state.pkp.spki_hashes)); in OnHSTSQuery()
/external/chromium_org/net/url_request/
Durl_request_unittest.cc6673 EXPECT_TRUE(FingerprintsEqual(new_static_domain_state.pkp.spki_hashes, in TEST_F()
6674 static_domain_state.pkp.spki_hashes)); in TEST_F()