Home
last modified time | relevance | path

Searched refs:DBPassword (Results 1 - 19 of 19) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dstore_factory.h38 using DBPassword = DistributedKv::SecurityManager::DBPassword;
46 DBOption GetDBOption(const Options &options, const DBPassword &dbPassword) const;
47 void ReKey(const std::string &storeId, const std::string &path, DBPassword &dbPassword,
49 Status RekeyRecover(const std::string &storeId, const std::string &path, DBPassword &dbPassword,
51 bool ExecuteRekey(const std::string &storeId, const std::string &path, DBPassword &dbPassword, DBStore *dbStore);
53 DBPassword &dbPassword);
H A Dbackup_manager.h30 using DBPassword = DistributedKv::SecurityManager::DBPassword;
64 DBPassword GetRestorePassword(const std::string &name, const std::string &baseDir,
H A Dsecurity_manager.h27 struct DBPassword { struct in OHOS::DistributedKv::SecurityManager
79 DBPassword GetDBPassword(const std::string &name, const std::string &path, bool needCreate = false);
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/include/
H A Dsecurity_manager.h22 using DBPassword = DistributedDB::CipherPassword;
24 DBPassword GetDBPassword(const std::string &name, const std::string &path, bool needCreate = false);
25 bool SaveDBPassword(const std::string &name, const std::string &path, const DBPassword &key);
H A Dstore_factory.h36 using DBPassword = DistributedDB::CipherPassword;
40 DBOption GetDBOption(const Options &options, const DBPassword &password) const;
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp27 SecurityManager::DBPassword SecurityManager::GetDBPassword(const std::string &name, in GetDBPassword()
33 return DBPassword(); in GetDBPassword()
39 DBPassword password; in GetDBPassword()
46 (const std::string &name, const std::string &path, const SecurityManager::DBPassword &key) in SaveDBPassword()
H A Dstore_factory.cpp128 StoreFactory::DBOption StoreFactory::GetDBOption(const Options &options, const DBPassword &password) const in GetDBOption()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dupgrade.h31 using DBPassword = DistributedDB::CipherPassword;
35 using Exporter = std::function<std::string(const StoreMeta &, DBPassword &)>;
H A Dkvdb_exporter.h26 using DBPassword = DistributedDB::CipherPassword;
H A Dupgrade.cpp58 DBPassword password; in UpdateStore()
83 DBPassword password; in ExportStore()
146 DBPassword password; in GetDBStore()
H A Dkvdb_general_store.h42 using DBPassword = DistributedDB::CipherPassword;
79 static DBPassword GetDBPassword(const StoreMetaData &data);
80 static DBOption GetDBOption(const StoreMetaData &data, const DBPassword &password);
H A Dkvdb_general_store.cpp98 KVDBGeneralStore::DBPassword KVDBGeneralStore::GetDBPassword(const StoreMetaData &data) in GetDBPassword()
100 DBPassword dbPassword; in GetDBPassword()
130 KVDBGeneralStore::DBOption KVDBGeneralStore::GetDBOption(const StoreMetaData &data, const DBPassword &password) in GetDBOption()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dstore_factory_test.cpp48 using DBPassword = SecurityManager::DBPassword;
63 DBOption GetOption(const Options &options, const DBPassword &dbPassword);
65 const Options &options, DBPassword &dbPassword, int time);
159 StoreFactoryTest::DBOption StoreFactoryTest::GetOption(const Options &options, const DBPassword &dbPassword) in GetOption()
183 std::shared_ptr<DBManager> dbManager, const Options &options, DBPassword &dbPassword, int time) in ChangeKVStoreDate()
H A Dsecurity_manager_test.cpp48 * @tc.desc: Test DBPassword function
53 SecurityManager::DBPassword passwd; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dstore_factory.cpp172 StoreFactory::DBOption StoreFactory::GetDBOption(const Options &options, const DBPassword &dbPassword) const in GetDBOption()
205 void StoreFactory::ReKey(const std::string &storeId, const std::string &path, DBPassword &dbPassword, in ReKey()
234 Status StoreFactory::RekeyRecover(const std::string &storeId, const std::string &path, DBPassword &dbPassword, in RekeyRecover()
265 const Options &options, DBPassword &dbPassword) in IsPwdValid()
278 bool StoreFactory::ExecuteRekey(const std::string &storeId, const std::string &path, DBPassword &dbPassword, in ExecuteRekey()
H A Dbackup_manager.cpp196 BackupManager::DBPassword BackupManager::GetRestorePassword( in GetRestorePassword()
201 DBPassword dbPassword; in GetRestorePassword()
H A Dsecurity_manager.cpp72 SecurityManager::DBPassword SecurityManager::GetDBPassword(const std::string &name, in GetDBPassword()
75 DBPassword dbPassword; in GetDBPassword()
H A Dstore_manager.cpp104 SecurityManager::DBPassword dbPassword; in GetSecretKeyFromService()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dkvdb_service_test.cpp42 using DBPassword = DistributedDB::CipherPassword;
150 DistributedKv::Upgrade::Exporter exporter = [](const StoreMetaData &, DBPassword &) { in HWTEST_F()
196 DistributedKv::Upgrade::Exporter exporter = [](const StoreMetaData &, DBPassword &) { in HWTEST_F()
203 DistributedKv::Upgrade::Exporter test = [](const StoreMetaData &, DBPassword &) { in HWTEST_F()

Completed in 10 milliseconds