• Home
  • Raw
  • Download

Lines Matching refs:ScopedPK11Slot

222   explicit ChromeOSUserData(ScopedPK11Slot public_slot)  in ChromeOSUserData()
233 ScopedPK11Slot GetPublicSlot() { in GetPublicSlot()
234 return ScopedPK11Slot( in GetPublicSlot()
238 ScopedPK11Slot GetPrivateSlot( in GetPrivateSlot()
239 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetPrivateSlot()
241 return ScopedPK11Slot(PK11_ReferenceSlot(private_slot_.get())); in GetPrivateSlot()
244 return ScopedPK11Slot(); in GetPrivateSlot()
247 void SetPrivateSlot(ScopedPK11Slot private_slot) { in SetPrivateSlot()
256 (*i).Run(ScopedPK11Slot(PK11_ReferenceSlot(private_slot_.get()))); in SetPrivateSlot()
269 ScopedPK11Slot public_slot_;
270 ScopedPK11Slot private_slot_;
274 typedef std::vector<base::Callback<void(ScopedPK11Slot)> >
320 crypto::ScopedPK11Slot tpm_slot;
323 ScopedPK11Slot OpenPersistentNSSDBForPath(const std::string& db_name, in OpenPersistentNSSDBForPath()
334 return ScopedPK11Slot(); in OpenPersistentNSSDBForPath()
478 static crypto::ScopedPK11Slot GetTPMSlotForIdOnWorkerThread( in GetTPMSlotForIdOnWorkerThread()
491 return crypto::ScopedPK11Slot(slot); in GetTPMSlotForIdOnWorkerThread()
506 ScopedPK11Slot public_slot(OpenPersistentNSSDBForPath(db_name, path)); in InitializeNSSForChromeOSUser()
576 ScopedPK11Slot GetPublicSlotForChromeOSUser( in GetPublicSlotForChromeOSUser()
582 return ScopedPK11Slot(); in GetPublicSlotForChromeOSUser()
587 return ScopedPK11Slot(); in GetPublicSlotForChromeOSUser()
592 ScopedPK11Slot GetPrivateSlotForChromeOSUser( in GetPrivateSlotForChromeOSUser()
594 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetPrivateSlotForChromeOSUser()
601 FROM_HERE, base::Bind(callback, base::Passed(ScopedPK11Slot()))); in GetPrivateSlotForChromeOSUser()
603 return ScopedPK11Slot(); in GetPrivateSlotForChromeOSUser()
619 void SetSystemKeySlotForTesting(ScopedPK11Slot slot) { in SetSystemKeySlotForTesting()
647 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetSystemNSSKeySlotCallback()
648 callback.Run(ScopedPK11Slot(PK11_ReferenceSlot(tpm_slot_.get()))); in GetSystemNSSKeySlotCallback()
651 ScopedPK11Slot GetSystemNSSKeySlot( in GetSystemNSSKeySlot()
652 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetSystemNSSKeySlot()
667 return ScopedPK11Slot(PK11_ReferenceSlot(tpm_slot_.get())); in GetSystemNSSKeySlot()
668 return ScopedPK11Slot(); in GetSystemNSSKeySlot()
856 crypto::ScopedPK11Slot tpm_slot_;
861 ScopedPK11Slot test_system_slot_;
877 ScopedPK11Slot OpenSoftwareNSSDB(const base::FilePath& path, in OpenSoftwareNSSDB()
891 return ScopedPK11Slot(db_slot); in OpenSoftwareNSSDB()
946 ScopedPK11Slot GetSystemNSSKeySlot( in GetSystemNSSKeySlot()
947 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetSystemNSSKeySlot()
951 void SetSystemKeySlotForTesting(ScopedPK11Slot slot) { in SetSystemKeySlotForTesting()
1001 ScopedPK11Slot GetPublicSlotForChromeOSUser(const std::string& username_hash) { in GetPublicSlotForChromeOSUser()
1005 ScopedPK11Slot GetPrivateSlotForChromeOSUser( in GetPrivateSlotForChromeOSUser()
1007 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetPrivateSlotForChromeOSUser()