Home
last modified time | relevance | path

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

12

/external/chromium_org/net/cert/
Dnss_cert_database_chromeos.h19 NSSCertDatabaseChromeOS(crypto::ScopedPK11Slot public_slot,
20 crypto::ScopedPK11Slot private_slot);
27 virtual crypto::ScopedPK11Slot GetPublicSlot() const OVERRIDE;
28 virtual crypto::ScopedPK11Slot GetPrivateSlot() const OVERRIDE;
44 crypto::ScopedPK11Slot public_slot_;
45 crypto::ScopedPK11Slot private_slot_;
Dnss_cert_database_chromeos.cc22 crypto::ScopedPK11Slot public_slot, in NSSCertDatabaseChromeOS()
23 crypto::ScopedPK11Slot private_slot) in NSSCertDatabaseChromeOS()
49 crypto::ScopedPK11Slot NSSCertDatabaseChromeOS::GetPublicSlot() const { in GetPublicSlot()
50 return crypto::ScopedPK11Slot( in GetPublicSlot()
54 crypto::ScopedPK11Slot NSSCertDatabaseChromeOS::GetPrivateSlot() const { in GetPrivateSlot()
55 return crypto::ScopedPK11Slot( in GetPrivateSlot()
78 NSSCertDatabase::ListCertsImpl(crypto::ScopedPK11Slot(), certs); in ListCertsImpl()
Dnss_profile_filter_chromeos_unittest.cc22 crypto::ScopedPK11Slot GetRootCertsSlot() { in GetRootCertsSlot()
32 return crypto::ScopedPK11Slot(PK11_ReferenceSlot(slot)); in GetRootCertsSlot()
35 return crypto::ScopedPK11Slot(); in GetRootCertsSlot()
71 crypto::ScopedPK11Slot private_slot_1(crypto::GetPrivateSlotForChromeOSUser( in SetUp()
73 base::Callback<void(crypto::ScopedPK11Slot)>())); in SetUp()
81 crypto::ScopedPK11Slot private_slot_2(crypto::GetPrivateSlotForChromeOSUser( in SetUp()
83 base::Callback<void(crypto::ScopedPK11Slot)>())); in SetUp()
116 crypto::ScopedPK11Slot internal_slot(PK11_GetInternalSlot()); in TEST_F()
123 crypto::ScopedPK11Slot internal_key_slot(PK11_GetInternalKeySlot()); in TEST_F()
133 crypto::ScopedPK11Slot root_certs_slot(GetRootCertsSlot()); in TEST_F()
[all …]
Dnss_profile_filter_chromeos.h38 void Init(crypto::ScopedPK11Slot public_slot,
39 crypto::ScopedPK11Slot private_slot);
65 crypto::ScopedPK11Slot public_slot_;
66 crypto::ScopedPK11Slot private_slot_;
Dnss_cert_database.cc80 ListCertsImpl(crypto::ScopedPK11Slot(), certs); in ListCertsSync()
92 base::Passed(crypto::ScopedPK11Slot()), in ListCerts()
107 base::Passed(crypto::ScopedPK11Slot(PK11_ReferenceSlot(slot))), in ListCertsInSlot()
112 crypto::ScopedPK11Slot NSSCertDatabase::GetPublicSlot() const { in GetPublicSlot()
113 return crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()); in GetPublicSlot()
116 crypto::ScopedPK11Slot NSSCertDatabase::GetPrivateSlot() const { in GetPrivateSlot()
117 return crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot()); in GetPrivateSlot()
121 crypto::ScopedPK11Slot slot(GetPublicSlot()); in GetPublicModule()
126 crypto::ScopedPK11Slot slot(GetPrivateSlot()); in GetPrivateModule()
206 crypto::ScopedPK11Slot slot(GetPublicSlot()); in ImportCACerts()
[all …]
Dnss_cert_database.h125 virtual crypto::ScopedPK11Slot GetPublicSlot() const;
128 virtual crypto::ScopedPK11Slot GetPrivateSlot() const;
253 static void ListCertsImpl(crypto::ScopedPK11Slot slot,
Dnss_profile_filter_chromeos.cc61 void NSSProfileFilterChromeOS::Init(crypto::ScopedPK11Slot public_slot, in Init()
62 crypto::ScopedPK11Slot private_slot) { in Init()
/external/chromium_org/chrome/browser/net/
Dnss_context_linux.cc11 crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext( in GetPublicNSSKeySlotForResourceContext()
14 return crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()); in GetPublicNSSKeySlotForResourceContext()
17 crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext( in GetPrivateNSSKeySlotForResourceContext()
19 const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { in GetPrivateNSSKeySlotForResourceContext()
21 return crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot()); in GetPrivateNSSKeySlotForResourceContext()
Dnss_context_chromeos.cc23 crypto::ScopedPK11Slot private_slot(crypto::GetPrivateSlotForChromeOSUser( in NSSCertDatabaseChromeOSManager()
50 void DidGetPrivateSlot(crypto::ScopedPK11Slot private_slot) { in DidGetPrivateSlot()
79 crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext( in GetPublicNSSKeySlotForResourceContext()
85 crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext( in GetPrivateNSSKeySlotForResourceContext()
87 const base::Callback<void(crypto::ScopedPK11Slot)>& callback) { in GetPrivateNSSKeySlotForResourceContext()
Dnss_context.h26 crypto::ScopedPK11Slot GetPublicNSSKeySlotForResourceContext(
33 crypto::ScopedPK11Slot GetPrivateNSSKeySlotForResourceContext(
35 const base::Callback<void(crypto::ScopedPK11Slot)>& callback)
/external/chromium_org/crypto/
Dnss_util.cc219 ChromeOSUserData(ScopedPK11Slot public_slot, bool is_primary_user) in ChromeOSUserData()
230 ScopedPK11Slot GetPublicSlot() { in GetPublicSlot()
231 return ScopedPK11Slot( in GetPublicSlot()
235 ScopedPK11Slot GetPrivateSlot( in GetPrivateSlot()
236 const base::Callback<void(ScopedPK11Slot)>& callback) { in GetPrivateSlot()
238 return ScopedPK11Slot(PK11_ReferenceSlot(private_slot_.get())); in GetPrivateSlot()
241 return ScopedPK11Slot(); in GetPrivateSlot()
244 void SetPrivateSlot(ScopedPK11Slot private_slot) { in SetPrivateSlot()
253 (*i).Run(ScopedPK11Slot(PK11_ReferenceSlot(private_slot_.get()))); in SetPrivateSlot()
258 ScopedPK11Slot public_slot_;
[all …]
Dnss_util_internal.h69 CRYPTO_EXPORT ScopedPK11Slot GetPublicSlotForChromeOSUser(
75 CRYPTO_EXPORT ScopedPK11Slot GetPrivateSlotForChromeOSUser(
77 const base::Callback<void(ScopedPK11Slot)>& callback) WARN_UNUSED_RESULT;
Dsymmetric_key_nss.cc26 ScopedPK11Slot slot(PK11_GetInternalSlot()); in GenerateRandomKey()
71 ScopedPK11Slot slot(PK11_GetInternalSlot()); in DeriveKeyFromPassword()
96 ScopedPK11Slot slot(PK11_GetInternalSlot()); in Import()
Dec_private_key_nss.cc40 crypto::ScopedPK11Slot slot(GetTempKeySlot()); in EllipticCurveSupportChecker()
93 ScopedPK11Slot slot(GetTempKeySlot()); in Create()
114 ScopedPK11Slot slot(GetTempKeySlot()); in CreateFromEncryptedPrivateKeyInfo()
Dnss_crypto_module_delegate.h48 virtual ScopedPK11Slot RequestSlot() = 0;
/external/chromium_org/net/ssl/
Dclient_cert_store_chromeos.cc27 crypto::ScopedPK11Slot private_slot(crypto::GetPrivateSlotForChromeOSUser( in GetClientCerts()
64 crypto::ScopedPK11Slot private_slot) { in DidGetPrivateSlot()
71 crypto::ScopedPK11Slot public_slot, in InitForTesting()
72 crypto::ScopedPK11Slot private_slot) { in InitForTesting()
Dclient_cert_store_chromeos.h41 crypto::ScopedPK11Slot private_slot);
45 void InitForTesting(crypto::ScopedPK11Slot public_slot,
46 crypto::ScopedPK11Slot private_slot);
Dclient_cert_store_chromeos_unittest.cc25 crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot()), in ClientCertStoreChromeOSTestDelegate()
26 crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot())); in ClientCertStoreChromeOSTestDelegate()
46 crypto::ScopedPK11Slot slot( in ImportCertForUser()
/external/chromium_org/chrome/browser/ui/
Dcrypto_module_delegate_nss.h44 virtual crypto::ScopedPK11Slot RequestSlot() OVERRIDE;
56 void DidGetSlot(const base::Closure& callback, crypto::ScopedPK11Slot slot);
70 crypto::ScopedPK11Slot slot_;
Dcrypto_module_delegate_nss.cc29 base::Callback<void(crypto::ScopedPK11Slot)> get_slot_callback; in InitializeSlot()
42 crypto::ScopedPK11Slot ChromeNSSCryptoModuleDelegate::RequestSlot() { in RequestSlot()
92 crypto::ScopedPK11Slot slot) { in DidGetSlot()
/external/chromium_org/chrome/browser/chromeos/net/
Dcert_verify_proc_chromeos.cc31 crypto::ScopedPK11Slot public_slot) { in CertVerifyProcChromeOS()
32 profile_filter_.Init(public_slot.Pass(), crypto::ScopedPK11Slot()); in CertVerifyProcChromeOS()
Dcert_verify_proc_chromeos.h28 explicit CertVerifyProcChromeOS(crypto::ScopedPK11Slot public_slot);
/external/chromium_org/chromeos/
Dcert_loader_unittest.cc38 void FailOnPrivateSlotCallback(crypto::ScopedPK11Slot slot) { in FailOnPrivateSlotCallback()
102 crypto::ScopedPK11Slot private_slot( in FinishUserInitAndGetDatabase()
309 primary_db_.reset(new net::NSSCertDatabaseChromeOS(crypto::ScopedPK11Slot(), in TEST_F()
310 crypto::ScopedPK11Slot())); in TEST_F()
Dcert_loader.cc90 crypto::ScopedPK11Slot slot(database_->GetPrivateSlot()); in TPMTokenSlotID()
101 crypto::ScopedPK11Slot slot(database_->GetPrivateSlot()); in IsHardwareBacked()
/external/chromium_org/chromeos/network/
Dclient_cert_resolver_unittest.cc61 base::Callback<void(crypto::ScopedPK11Slot)>()); in SetUp()
67 base::Callback<void(crypto::ScopedPK11Slot)>()))); in SetUp()
247 crypto::ScopedPK11Slot private_slot_;

12