Searched defs:TestRootCerts (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/net/cert/
H A Dtest_root_certs_android.cc14 bool TestRootCerts::Add(X509Certificate* certificate) {
25 void TestRootCerts::Clear() {
33 bool TestRootCerts::IsEmpty() const {
37 TestRootCerts::~TestRootCerts() {}
39 void TestRootCerts::Init() {
H A Dtest_root_certs.h40 // TestRootCerts is a helper class for unit tests that is used to
43 class NET_EXPORT TestRootCerts { class in namespace:net
46 static TestRootCerts* GetInstance();
78 // be trusted. By default, this is true, indicating that the TestRootCerts
96 friend struct base::DefaultLazyInstanceTraits<TestRootCerts>;
98 TestRootCerts();
99 ~TestRootCerts();
123 DISALLOW_COPY_AND_ASSIGN(TestRootCerts);
130 // Creates a ScopedTestRoot that will adds|cert| to the TestRootCerts store.
137 // a cert being passed at construction), the existing TestRootCerts stor
[all...]
H A Dtest_root_certs_openssl.cc17 bool TestRootCerts::Add(X509Certificate* certificate) {
33 void TestRootCerts::Clear() {
41 bool TestRootCerts::IsEmpty() const {
45 bool TestRootCerts::Contains(X509* cert) const {
55 TestRootCerts::~TestRootCerts() {}
57 void TestRootCerts::Init() {}
H A Dtest_root_certs.cc20 base::LazyInstance<TestRootCerts>::Leaky
37 TestRootCerts* TestRootCerts::GetInstance() {
41 bool TestRootCerts::HasInstance() {
45 bool TestRootCerts::AddFromFile(const base::FilePath& file) {
53 TestRootCerts::TestRootCerts() { function in class:net::TestRootCerts
70 TestRootCerts::GetInstance()->Clear();
72 TestRootCerts::GetInstance()->Add(cert);
H A Dtest_root_certs_nss.cc22 // TestRootCerts.
23 class TestRootCerts::TrustEntry {
44 TestRootCerts::TrustEntry::TrustEntry(CERTCertificate* certificate,
50 TestRootCerts::TrustEntry::~TrustEntry() {
54 bool TestRootCerts::Add(X509Certificate* certificate) {
93 void TestRootCerts::Clear() {
113 bool TestRootCerts::IsEmpty() const {
118 bool TestRootCerts::Contains(CERTCertificate* cert) const {
128 TestRootCerts::~TestRootCerts() {
[all...]
H A Dtest_root_certs_mac.cc51 bool TestRootCerts::Add(X509Certificate* certificate) {
60 void TestRootCerts::Clear() {
64 bool TestRootCerts::IsEmpty() const {
68 OSStatus TestRootCerts::FixupSecTrustRef(SecTrustRef trust_ref) const {
105 void TestRootCerts::SetAllowSystemTrust(bool allow_system_trust) {
109 TestRootCerts::~TestRootCerts() {}
111 void TestRootCerts::Init() {
H A Dtest_root_certs_win.cc119 if (!ok || TestRootCerts::GetInstance()->IsEmpty() ||
137 memory_store, TestRootCerts::GetInstance()->temporary_roots(), 0, 0);
142 bool TestRootCerts::Add(X509Certificate* certificate) {
160 void TestRootCerts::Clear() {
170 bool TestRootCerts::IsEmpty() const {
174 HCERTCHAINENGINE TestRootCerts::GetChainEngine() const {
203 TestRootCerts::~TestRootCerts() {
207 void TestRootCerts::Init() {

Completed in 111 milliseconds