Home
last modified time | relevance | path

Searched refs:crl_set_bytes (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/net/
Dcrl_set_fetcher.cc77 std::string crl_set_bytes; in LoadFromDisk() local
78 if (!base::ReadFileToString(path, &crl_set_bytes)) in LoadFromDisk()
81 if (!net::CRLSet::Parse(crl_set_bytes, out_crl_set)) { in LoadFromDisk()
86 VLOG(1) << "Loaded " << crl_set_bytes.size() << " bytes of CRL set from disk"; in LoadFromDisk()
155 std::string crl_set_bytes; in Install() local
156 if (!base::ReadFileToString(crl_set_file_path, &crl_set_bytes)) { in Install()
162 if (!net::CRLSet::GetIsDeltaUpdate(crl_set_bytes, &is_delta)) { in Install()
168 if (!net::CRLSet::Parse(crl_set_bytes, &crl_set_)) { in Install()
172 int size = base::checked_numeric_cast<int>(crl_set_bytes.size()); in Install()
173 if (file_util::WriteFile(save_to, crl_set_bytes.data(), size) != size) { in Install()
[all …]
/external/chromium_org/net/tools/crl_set_dump/
Dcrl_set_dump.cc40 std::string crl_set_bytes, delta_bytes; in main() local
41 if (!base::ReadFileToString(crl_set_filename, &crl_set_bytes)) in main()
49 if (!net::CRLSet::Parse(crl_set_bytes, &crl_set)) { in main()
/external/chromium_org/net/cert/
Dcert_verify_proc_unittest.cc1141 base::StringPiece crl_set_bytes( in TEST_F()
1145 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()
1157 crl_set_bytes = in TEST_F()
1160 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()
1209 base::StringPiece crl_set_bytes = in TEST_F() local
1212 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()