Searched refs:CertLoader (Results 1 – 17 of 17) sorted by relevance
/external/chromium_org/chromeos/ |
D | cert_loader.cc | 23 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 …]
|
D | cert_loader.h | 34 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);
|
D | cert_loader_unittest.cc | 44 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/ |
D | cert_library.cc | 125 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()
|
D | cert_library.h | 23 class CertLibrary : public CertLoader::Observer {
|
/external/chromium_org/chromeos/network/ |
D | client_cert_resolver.cc | 195 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()
|
D | network_cert_migrator.cc | 244 CertLoader::GetPkcs11IdAndSlotForCert(**it, ¤t_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()
|
D | client_cert_resolver_unittest.cc | 83 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_;
|
D | network_connection_handler_unittest.cc | 76 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()
|
D | network_connection_handler.h | 47 public CertLoader::Observer, 227 CertLoader* cert_loader_;
|
D | network_cert_migrator_unittest.cc | 72 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()
|
D | network_cert_migrator.h | 21 public CertLoader::Observer {
|
D | client_cert_resolver.h | 35 public CertLoader::Observer,
|
D | network_handler.cc | 40 if (CertLoader::IsInitialized()) { in NetworkHandler()
|
D | network_connection_handler.cc | 176 if (CertLoader::IsInitialized()) { in Init() 177 cert_loader_ = CertLoader::Get(); in Init()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | chrome_browser_main_chromeos.cc | 168 CertLoader::Initialize(); in DBusServices() 204 CertLoader::Shutdown(); in ~DBusServices()
|
/external/chromium_org/chrome/browser/chromeos/login/session/ |
D | user_session_manager.cc | 166 if (!CertLoader::IsInitialized()) in OnGetNSSCertDatabaseForUser() 169 CertLoader::Get()->StartWithNSSDB(database); in OnGetNSSCertDatabaseForUser() 925 if (CertLoader::IsInitialized() && base::SysInfo::IsRunningOnChromeOS()) { in InitializeCerts()
|