Searched refs:TestRootCerts (Results 1 – 11 of 11) sorted by relevance
20 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
19 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()
17 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()
118 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()
32 class TestRootCerts {35 static TestRootCerts* GetInstance();74 friend struct base::DefaultLazyInstanceTraits<TestRootCerts>;76 TestRootCerts();77 ~TestRootCerts();98 DISALLOW_COPY_AND_ASSIGN(TestRootCerts);
58 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()
471 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in TEST()556 TestRootCerts::GetInstance()->Add(intermediate_cert.get()); in TEST()577 TestRootCerts::GetInstance()->Clear(); in TEST()
350 friend class TestRootCerts; // For unit tests variable
736 if (TestRootCerts::HasInstance()) in Verify()737 chain_engine.reset(TestRootCerts::GetInstance()->GetChainEngine()); in Verify()
827 if (TestRootCerts::HasInstance()) { in Verify()828 status = TestRootCerts::GetInstance()->FixupSecTrustRef(trust_ref); in Verify()
103 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in ~TestServer()340 TestRootCerts* root_certs = TestRootCerts::GetInstance(); in LoadTestRootCert()