Home
last modified time | relevance | path

Searched refs:ScopedPK11Slot (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/crypto/
Dnss_util.cc222 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_;
[all …]
Dnss_util_internal.h28 CRYPTO_EXPORT ScopedPK11Slot OpenSoftwareNSSDB(const base::FilePath& path,
53 CRYPTO_EXPORT ScopedPK11Slot GetSystemNSSKeySlot(
54 const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT;
62 CRYPTO_EXPORT void SetSystemKeySlotForTesting(ScopedPK11Slot slot);
95 CRYPTO_EXPORT ScopedPK11Slot GetPublicSlotForChromeOSUser(
101 CRYPTO_EXPORT ScopedPK11Slot GetPrivateSlotForChromeOSUser(
103 const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT;
Dscoped_test_system_nss_key_slot.cc17 ScopedPK11Slot(PK11_ReferenceSlot(test_db_->slot()))); in ScopedTestSystemNSSKeySlot()
21 SetSystemKeySlotForTesting(ScopedPK11Slot()); in ~ScopedTestSystemNSSKeySlot()
Dsymmetric_key_nss.cc32 ScopedPK11Slot slot(PK11_GetInternalSlot()); in GenerateRandomKey()
85 ScopedPK11Slot slot(PK11_GetInternalSlot()); in DeriveKeyFromPassword()
119 ScopedPK11Slot slot(PK11_GetInternalSlot()); in Import()
Drsa_private_key_nss.cc55 ScopedPK11Slot slot(PK11_GetInternalSlot()); in Create()
79 ScopedPK11Slot slot(PK11_GetInternalSlot()); in CreateFromPrivateKeyInfo()
Dscoped_test_nss_db.h28 ScopedPK11Slot slot_;
Dnss_crypto_module_delegate.h48 virtual ScopedPK11Slot RequestSlot() = 0;
Dscoped_nss_types.h36 ScopedPK11Slot; typedef
Dhmac_nss.cc20 ScopedPK11Slot slot_;
Dnss_key_util_unittest.cc31 ScopedPK11Slot internal_slot_;