Home
last modified time | relevance | path

Searched refs:PUB_KEY_FILE (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_security_manager_test.cpp86 … auto password = RdbSecurityManager::GetInstance().GetRdbPassword(dbFile_, KeyType::PUB_KEY_FILE);
136 const std::string file = keyFile.GetKeyFile(RdbSecurityManager::KeyFileType::PUB_KEY_FILE);
141 …anager::GetInstance().GetRdbPassword(RDB_TEST_PATH, RdbSecurityManager::KeyFileType::PUB_KEY_FILE);
H A Drdb_encrypt_decrypt_test.cpp410 std::string file = keyFile.GetKeyFile(RdbSecurityManager::KeyFileType::PUB_KEY_FILE);
448 std::string file = keyFile.GetKeyFile(RdbSecurityManager::KeyFileType::PUB_KEY_FILE);
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_security_manager.cpp555 SqliteUtils::DeleteFile(keyFiles.GetKeyFile(PUB_KEY_FILE)); in DelAllKeyFiles()
606 auto &keyFile = keyFiles.GetKeyFile(PUB_KEY_FILE); in ChangeKeyFile()
630 auto &keyFile = keyFiles.GetKeyFile(PUB_KEY_FILE); in RestoreKeyFile()
653 keys_[PUB_KEY_FILE] = dbKeyDir + dbName + SUFFIX_PUB_KEY; in KeyFiles()
675 if (type == PUB_KEY_FILE) { in GetKeyFile()
676 return keys_[PUB_KEY_FILE]; in GetKeyFile()
683 const std::string keyDir = StringUtils::ExtractFilePath(keys_[PUB_KEY_FILE]); in InitKeyPath()
H A Drdb_store_config.cpp403 … auto rdbPwd = RdbSecurityManager::GetInstance().GetRdbPassword(path_, KeyFileType::PUB_KEY_FILE); in GenerateEncryptedKey()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_security_manager.h67 PUB_KEY_FILE = 0, enumerator