Home
last modified time | relevance | path

Searched refs:CertLoader (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chromeos/
Dcert_loader.cc23 static CertLoader* g_cert_loader = NULL;
26 void CertLoader::Initialize() { in Initialize()
28 g_cert_loader = new CertLoader(); in Initialize()
32 void CertLoader::Shutdown() { in Shutdown()
39 CertLoader* CertLoader::Get() { in Get()
45 bool CertLoader::IsInitialized() { in IsInitialized()
49 CertLoader::CertLoader() in CertLoader() function in chromeos::CertLoader
59 CertLoader::~CertLoader() { in ~CertLoader()
63 void CertLoader::StartWithNSSDB(net::NSSCertDatabase* database) { in StartWithNSSDB()
79 void CertLoader::AddObserver(CertLoader::Observer* observer) { in AddObserver()
[all …]
Dcert_loader.h34 class CHROMEOS_EXPORT CertLoader : public net::CertDatabase::Observer {
55 static CertLoader* Get();
74 void AddObserver(CertLoader::Observer* observer);
75 void RemoveObserver(CertLoader::Observer* observer);
97 CertLoader();
98 virtual ~CertLoader();
133 base::WeakPtrFactory<CertLoader> weak_factory_;
135 DISALLOW_COPY_AND_ASSIGN(CertLoader);
Dcert_loader_unittest.cc44 public CertLoader::Observer {
58 CertLoader::Initialize(); in SetUp()
59 cert_loader_ = CertLoader::Get(); in SetUp()
65 CertLoader::Shutdown(); in TearDown()
161 CertLoader* cert_loader_;
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc125 CertLoader::Get()->AddObserver(this); in CertLibrary()
129 CertLoader::Get()->RemoveObserver(this); in ~CertLibrary()
141 return CertLoader::Get()->CertificatesLoading(); in CertificatesLoading()
145 return CertLoader::Get()->certificates_loaded(); in CertificatesLoaded()
149 return CertLoader::Get()->IsHardwareBacked(); in IsHardwareBacked()
170 return CertLoader::GetPkcs11IdAndSlotForCert(*cert, slot_id); in GetUserCertPkcs11IdAt()
175 return CertLoader::Get()->IsCertificateHardwareBacked(cert); in IsCertHardwareBackedAt()
196 std::string id = CertLoader::GetPkcs11IdAndSlotForCert(*cert, &slot_id); in GetUserCertIndexByPkcs11Id()
Dcert_library.h23 class CertLibrary : public CertLoader::Observer {
/external/chromium_org/chromeos/network/
Dclient_cert_resolver.cc195 CertLoader::GetPkcs11IdAndSlotForCert(*cert_it->cert, &slot_id); in FindCertificateMatches()
220 if (!CertLoader::Get()->certificates_loaded()) { in ClientCertificatesLoaded()
224 if (!CertLoader::Get()->IsHardwareBacked()) { in ClientCertificatesLoaded()
242 if (CertLoader::IsInitialized()) in ~ClientCertResolver()
243 CertLoader::Get()->RemoveObserver(this); in ~ClientCertResolver()
259 CertLoader::Get()->AddObserver(this); in Init()
274 CreateSortedCertAndIssuerList(CertLoader::Get()->cert_list())); in ResolveCertificatePatternSync()
288 CertLoader::GetPkcs11IdAndSlotForCert(*cert_it->cert, &slot_id); in ResolveCertificatePatternSync()
420 CertLoader::Get()->cert_list(), in ResolveNetworks()
Dnetwork_cert_migrator.cc244 CertLoader::GetPkcs11IdAndSlotForCert(**it, &current_slot_id); in FindCertificateWithPkcs11Id()
320 if (CertLoader::IsInitialized()) in ~NetworkCertMigrator()
321 CertLoader::Get()->RemoveObserver(this); in ~NetworkCertMigrator()
329 DCHECK(CertLoader::IsInitialized()); in Init()
330 CertLoader::Get()->AddObserver(this); in Init()
334 if (!CertLoader::Get()->certificates_loaded()) { in NetworkListChanged()
342 CertLoader::Get()->cert_list(), weak_ptr_factory_.GetWeakPtr())); in NetworkListChanged()
Dclient_cert_resolver_unittest.cc83 CertLoader::Initialize(); in SetUp()
84 cert_loader_ = CertLoader::Get(); in SetUp()
94 CertLoader::Shutdown(); in TearDown()
106 CertLoader::GetPkcs11IdAndSlotForCert(*test_client_cert_, &slot_id); in StartCertLoader()
258 CertLoader* cert_loader_;
Dnetwork_connection_handler_unittest.cc76 CertLoader::Initialize(); in SetUp()
77 CertLoader* cert_loader = CertLoader::Get(); in SetUp()
127 CertLoader::Shutdown(); in TearDown()
197 CertLoader::Get()->StartWithNSSDB(test_nssdb_.get()); in StartCertLoader()
Dnetwork_connection_handler.h47 public CertLoader::Observer,
227 CertLoader* cert_loader_;
Dnetwork_cert_migrator_unittest.cc72 CertLoader::Initialize(); in SetUp()
73 CertLoader* cert_loader_ = CertLoader::Get(); in SetUp()
80 CertLoader::Shutdown(); in TearDown()
128 test_client_cert_pkcs11_id_ = CertLoader::GetPkcs11IdAndSlotForCert( in SetupTestClientCert()
Dnetwork_cert_migrator.h21 public CertLoader::Observer {
Dclient_cert_resolver.h35 public CertLoader::Observer,
Dnetwork_handler.cc40 if (CertLoader::IsInitialized()) { in NetworkHandler()
Dnetwork_connection_handler.cc176 if (CertLoader::IsInitialized()) { in Init()
177 cert_loader_ = CertLoader::Get(); in Init()
/external/chromium_org/chrome/browser/chromeos/
Dchrome_browser_main_chromeos.cc168 CertLoader::Initialize(); in DBusServices()
204 CertLoader::Shutdown(); in ~DBusServices()
/external/chromium_org/chrome/browser/chromeos/login/session/
Duser_session_manager.cc166 if (!CertLoader::IsInitialized()) in OnGetNSSCertDatabaseForUser()
169 CertLoader::Get()->StartWithNSSDB(database); in OnGetNSSCertDatabaseForUser()
925 if (CertLoader::IsInitialized() && base::SysInfo::IsRunningOnChromeOS()) { in InitializeCerts()