Home
last modified time | relevance | path

Searched refs:CRLSet (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/net/cert/
Dcrl_set_unittest.cc188 scoped_refptr<net::CRLSet> set; in TEST()
189 EXPECT_TRUE(net::CRLSet::Parse(s, &set)); in TEST()
192 const net::CRLSet::CRLList& crls = set->crls(); in TEST()
205 EXPECT_EQ(net::CRLSet::REVOKED, set->CheckSerial( in TEST()
208 EXPECT_EQ(net::CRLSet::GOOD, set->CheckSerial( in TEST()
218 scoped_refptr<net::CRLSet> set; in TEST()
219 EXPECT_TRUE(net::CRLSet::Parse(s, &set)); in TEST()
222 scoped_refptr<net::CRLSet> delta_set; in TEST()
235 scoped_refptr<net::CRLSet> set; in TEST()
236 EXPECT_TRUE(net::CRLSet::Parse(s, &set)); in TEST()
[all …]
Dcrl_set.h27 class NET_EXPORT CRLSet : public base::RefCountedThreadSafe<CRLSet> {
38 scoped_refptr<CRLSet>* out_crl_set);
60 scoped_refptr<CRLSet>* out_crl_set);
87 static CRLSet* EmptyCRLSetForTesting();
90 static CRLSet* ExpiredCRLSetForTesting();
97 static CRLSet* ForTesting(bool is_expired,
102 CRLSet();
103 ~CRLSet();
105 friend class base::RefCountedThreadSafe<CRLSet>;
Dcrl_set.cc47 CRLSet::CRLSet() in CRLSet() function in net::CRLSet
52 CRLSet::~CRLSet() { in ~CRLSet()
180 bool CRLSet::CopyBlockedSPKIsFromHeader(base::DictionaryValue* header_dict) { in CopyBlockedSPKIsFromHeader()
202 bool CRLSet::Parse(base::StringPiece data, scoped_refptr<CRLSet>* out_crl_set) { in Parse()
241 scoped_refptr<CRLSet> crl_set(new CRLSet); in Parse()
344 bool CRLSet::ApplyDelta(const base::StringPiece& in_data, in ApplyDelta()
345 scoped_refptr<CRLSet>* out_crl_set) { in ApplyDelta()
379 scoped_refptr<CRLSet> crl_set(new CRLSet); in ApplyDelta()
439 bool CRLSet::GetIsDeltaUpdate(const base::StringPiece& in_data, in GetIsDeltaUpdate()
461 std::string CRLSet::Serialize() const { in Serialize()
[all …]
Dcert_verify_proc.h19 class CRLSet; variable
60 CRLSet* crl_set,
82 CRLSet* crl_set,
Dcert_verifier.h18 class CRLSet; variable
107 CRLSet* crl_set,
Dcert_verify_proc_mac.cc266 bool CheckRevocationWithCRLSet(CFArrayRef chain, CRLSet* crl_set) { in CheckRevocationWithCRLSet()
308 CRLSet::Result result = crl_set->CheckSPKI(spki_hash); in CheckRevocationWithCRLSet()
310 if (result != CRLSet::REVOKED && !issuer_spki_hash.empty()) in CheckRevocationWithCRLSet()
316 case CRLSet::REVOKED: in CheckRevocationWithCRLSet()
318 case CRLSet::UNKNOWN: in CheckRevocationWithCRLSet()
319 case CRLSet::GOOD: in CheckRevocationWithCRLSet()
531 CRLSet* crl_set, in VerifyInternal()
Dcert_verify_proc_win.cc393 CRLSet* crl_set) { in CheckRevocationWithCRLSet()
433 CRLSet::Result result = crl_set->CheckSPKI(spki_hash); in CheckRevocationWithCRLSet()
435 if (result != CRLSet::REVOKED && !issuer_spki_hash.empty()) in CheckRevocationWithCRLSet()
441 case CRLSet::REVOKED: in CheckRevocationWithCRLSet()
443 case CRLSet::UNKNOWN: in CheckRevocationWithCRLSet()
446 case CRLSet::GOOD: in CheckRevocationWithCRLSet()
547 CRLSet* crl_set, in VerifyInternal()
Dcert_verify_proc_nss.cc272 CRLSet* crl_set) { in CheckRevocationWithCRLSet()
309 CRLSet::Result result = crl_set->CheckSPKI(spki_hash); in CheckRevocationWithCRLSet()
311 if (result != CRLSet::REVOKED && !issuer_spki_hash.empty()) in CheckRevocationWithCRLSet()
317 case CRLSet::REVOKED: in CheckRevocationWithCRLSet()
319 case CRLSet::UNKNOWN: in CheckRevocationWithCRLSet()
322 case CRLSet::GOOD: in CheckRevocationWithCRLSet()
668 CRLSet* crl_set, in VerifyEV()
755 CRLSet* crl_set, in VerifyInternal()
Dcert_verify_proc_unittest.cc66 CRLSet* crl_set,
79 CRLSet* crl_set, in VerifyInternal()
103 CRLSet* crl_set, in Verify()
159 scoped_refptr<CRLSet> crl_set(CRLSet::ForTesting(false, NULL, "")); in TEST_F()
1120 TEST_F(CertVerifyProcTest, CRLSet) { in TEST_F() argument
1144 scoped_refptr<CRLSet> crl_set; in TEST_F()
1145 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()
1160 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()
1208 scoped_refptr<CRLSet> crl_set; in TEST_F()
1212 ASSERT_TRUE(CRLSet::Parse(crl_set_bytes, &crl_set)); in TEST_F()
Dcert_verify_proc_mac.h27 CRLSet* crl_set,
Dcert_verify_proc_android.h27 CRLSet* crl_set,
Dcert_verify_proc_openssl.h26 CRLSet* crl_set,
Dcert_verify_proc_win.h27 CRLSet* crl_set,
Dcert_verify_proc_nss.h27 CRLSet* crl_set,
Dsingle_request_cert_verifier.h30 CRLSet* crl_set,
Dmock_cert_verifier.h31 CRLSet* crl_set,
Dsingle_request_cert_verifier.cc31 CRLSet* crl_set, in Verify()
Dmulti_threaded_cert_verifier.cc190 CRLSet* crl_set, in CertVerifierWorker()
299 scoped_refptr<CRLSet> crl_set_;
416 CRLSet* crl_set, in Verify()
Dmock_cert_verifier.cc42 CRLSet* crl_set, in Verify()
/external/chromium_org/chrome/browser/net/
Dcrl_set_fetcher.h20 class CRLSet; variable
56 scoped_refptr<net::CRLSet>* out_crl_set);
60 void SetCRLSetIfNewer(scoped_refptr<net::CRLSet> crl_set);
69 scoped_refptr<net::CRLSet> crl_set_;
Dcrl_set_fetcher.cc74 scoped_refptr<net::CRLSet>* out_crl_set) { in LoadFromDisk()
81 if (!net::CRLSet::Parse(crl_set_bytes, out_crl_set)) { in LoadFromDisk()
97 scoped_refptr<net::CRLSet> crl_set) { in SetCRLSetIfNewer()
100 scoped_refptr<net::CRLSet> old_crl_set(net::SSLConfigService::GetCRLSet()); in SetCRLSetIfNewer()
162 if (!net::CRLSet::GetIsDeltaUpdate(crl_set_bytes, &is_delta)) { in Install()
168 if (!net::CRLSet::Parse(crl_set_bytes, &crl_set_)) { in Install()
180 scoped_refptr<net::CRLSet> new_crl_set; in Install()
/external/chromium_org/net/tools/crl_set_dump/
Dcrl_set_dump.cc48 scoped_refptr<net::CRLSet> crl_set, final_crl_set; in main()
49 if (!net::CRLSet::Parse(crl_set_bytes, &crl_set)) { in main()
72 const net::CRLSet::CRLList& crls = final_crl_set->crls(); in main()
73 for (net::CRLSet::CRLList::const_iterator i = crls.begin(); i != crls.end(); in main()
/external/chromium_org/net/ssl/
Dssl_config_service.cc89 void Set(const scoped_refptr<CRLSet>& new_crl_set) { in Set()
94 scoped_refptr<CRLSet> Get() const { in Get()
100 scoped_refptr<CRLSet> crl_set_;
107 void SSLConfigService::SetCRLSet(scoped_refptr<CRLSet> crl_set) { in SetCRLSet()
113 scoped_refptr<CRLSet> SSLConfigService::GetCRLSet() { in GetCRLSet()
Dssl_config_service.h194 static void SetCRLSet(scoped_refptr<CRLSet> crl_set);
195 static scoped_refptr<CRLSet> GetCRLSet();
/external/chromium_org/chrome/browser/chromeos/policy/
Dpolicy_cert_verifier.h51 net::CRLSet* crl_set,

12