Home
last modified time | relevance | path

Searched refs:TestRootCerts (Results 1 – 11 of 11) sorted by relevance

/external/chromium/net/base/
Dtest_root_certs.cc20 base::LazyInstance<TestRootCerts,
21 base::LeakyLazyInstanceTraits<TestRootCerts> >
38 TestRootCerts* TestRootCerts::GetInstance() { in GetInstance()
42 bool TestRootCerts::HasInstance() { in HasInstance()
46 bool TestRootCerts::AddFromFile(const FilePath& file) { in AddFromFile()
54 TestRootCerts::TestRootCerts() { in TestRootCerts() function in net::TestRootCerts
Dtest_root_certs_nss.cc19 class TestRootCerts::TrustEntry {
40 TestRootCerts::TrustEntry::TrustEntry(CERTCertificate* certificate, in TrustEntry()
46 TestRootCerts::TrustEntry::~TrustEntry() { in ~TrustEntry()
50 bool TestRootCerts::Add(X509Certificate* certificate) { in Add()
87 void TestRootCerts::Clear() { in Clear()
107 bool TestRootCerts::IsEmpty() const { in IsEmpty()
111 TestRootCerts::~TestRootCerts() { in ~TestRootCerts()
115 void TestRootCerts::Init() { in Init()
Dtest_root_certs_openssl.cc17 bool TestRootCerts::Add(X509Certificate* certificate) { in Add()
33 void TestRootCerts::Clear() { in Clear()
41 bool TestRootCerts::IsEmpty() const { in IsEmpty()
45 TestRootCerts::~TestRootCerts() {} in ~TestRootCerts()
47 void TestRootCerts::Init() { in Init()
Dtest_root_certs_win.cc118 if (!ok || TestRootCerts::GetInstance()->IsEmpty() || in InterceptedOpenStoreW()
136 memory_store, TestRootCerts::GetInstance()->temporary_roots(), 0, 0); in InterceptedOpenStoreW()
141 bool TestRootCerts::Add(X509Certificate* certificate) { in Add()
159 void TestRootCerts::Clear() { in Clear()
167 bool TestRootCerts::IsEmpty() const { in IsEmpty()
171 HCERTCHAINENGINE TestRootCerts::GetChainEngine() const { in GetChainEngine()
194 TestRootCerts::~TestRootCerts() { in ~TestRootCerts()
198 void TestRootCerts::Init() { in Init()
Dtest_root_certs.h32 class TestRootCerts {
35 static TestRootCerts* GetInstance();
74 friend struct base::DefaultLazyInstanceTraits<TestRootCerts>;
76 TestRootCerts();
77 ~TestRootCerts();
98 DISALLOW_COPY_AND_ASSIGN(TestRootCerts);
Dtest_root_certs_mac.cc58 bool TestRootCerts::Add(X509Certificate* certificate) { in Add()
67 void TestRootCerts::Clear() { in Clear()
71 bool TestRootCerts::IsEmpty() const { in IsEmpty()
75 OSStatus TestRootCerts::FixupSecTrustRef(SecTrustRef trust_ref) const { in FixupSecTrustRef()
128 TestRootCerts::~TestRootCerts() {} in ~TestRootCerts()
130 void TestRootCerts::Init() { in Init()
Dx509_certificate_unittest.cc471 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in TEST()
556 TestRootCerts::GetInstance()->Add(intermediate_cert.get()); in TEST()
577 TestRootCerts::GetInstance()->Clear(); in TEST()
Dx509_certificate.h350 friend class TestRootCerts; // For unit tests variable
Dx509_certificate_win.cc736 if (TestRootCerts::HasInstance()) in Verify()
737 chain_engine.reset(TestRootCerts::GetInstance()->GetChainEngine()); in Verify()
Dx509_certificate_mac.cc827 if (TestRootCerts::HasInstance()) { in Verify()
828 status = TestRootCerts::GetInstance()->FixupSecTrustRef(trust_ref); in Verify()
/external/chromium/net/test/
Dtest_server.cc103 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in ~TestServer()
340 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in LoadTestRootCert()