Home
last modified time | relevance | path

Searched defs:keyPath (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/base/update/updater/services/package/pkg_algorithm/
H A Dpkg_algo_sign.h47 …SignAlgorithm(const std::string keyPath, uint8_t digestMethod) : keyName_(keyPath), digestMethod_(… in SignAlgorithm()
63 …VerifyAlgorithm(const std::string keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digestMe… in VerifyAlgorithm()
78 …SignAlgorithmRsa(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmRsa()
87 …SignAlgorithmEcc(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmEcc()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_store_rekey_test.cpp133 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in GetKeyFileDate() local
154 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in ChangeKeyFileDate() local
175 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in SaveNewKey() local
254 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
290 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
316 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
347 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
385 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
421 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
466 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
H A Drdb_encrypt_decrypt_test.cpp196 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; variable
237 std::string keyPath = RDB_TEST_PATH + "key/" + "encrypted.pub_key"; variable
359 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; variable
385 std::string keyPath = RDB_TEST_PATH + "key/unencrypted.pub_key"; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_posix/
H A Dkv_store.c42 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in GetResolvedPath() local
66 char* keyPath = (char *)malloc(PATH_MAX + 1); in GetValueByFile() local
101 char* keyPath = (char *)malloc(PATH_MAX + 1); in SetValueToFile() local
123 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in DeleteValueFromFile() local
195 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in NewItem() local
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dbase_key_mock.cpp88 bool BaseKey::DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in DecryptKeyBlob()
97 bool BaseKey::EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in EncryptKeyBlob()
106 bool BaseKey::RenameKeyPath(const std::string &keyPath) in RenameKeyPath()
/ohos5.0/base/startup/init/simulator/parameter/src/param_impl_posix/
H A Dparam_impl_posix.c72 char* keyPath = (char *)calloc(1, MAX_KEY_PATH + 1); in GetSysParam() local
111 char* keyPath = (char *)calloc(1, MAX_KEY_PATH + 1); in SetSysParam() local
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dapp_clone_key_manager.cpp36 std::string keyPath = StringPrintf(NEED_RESTORE_PATH.c_str(), userId); in ActiveAppCloneUserKey() local
H A Dbase_key.cpp285 bool BaseKey::InitKeyContext(const UserAuth &auth, const std::string &keyPath, KeyContext &keyCtx) in StoreKey()
306 bool BaseKey::SaveAndCleanKeyBuff(const std::string &keyPath, KeyContext &keyCtx) in StoreKey()
520 bool BaseKey::DoRestoreKeyEx(const UserAuth &auth, const std::string &keyPath) in StoreKey()
700 bool BaseKey::DoUpdateRestore(const UserAuth &auth, const std::string &keyPath) in StoreKey()
891 bool BaseKey::EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in StoreKey()
924 bool BaseKey::DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in StoreKey()
959 bool BaseKey::RenameKeyPath(const std::string &keyPath) in StoreKey()
/ohos5.0/base/update/updater/test/unittest/script/
H A Dscript_unittest.h40 int32_t VerifyPackage(const std::string &packagePath, const std::string &keyPath, in VerifyPackage()
45 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
58 int32_t VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in VerifyBinFile()
109 int32_t LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream()
136 int32_t VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) override in VerifyAccPackage()
/ohos5.0/base/update/updater/interfaces/kits/packages/
H A Dpackage.cpp125 const char *keyPath) in CreatePackage()
176 const char *keyPath, in VerifyPackage()
199 const std::string &keyPath, std::function<void(int32_t result, uint32_t percent)> cb) in VerifyPackageWithCallback()
/ohos5.0/base/update/updateservice/services/engine/src/
H A Dupdate_service_local_updater.cpp43 …rviceLocalUpdater::VerifyUpgradePackage(const std::string &packagePath, const std::string &keyPath, in VerifyUpgradePackage()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp106 auto keyPath = path + "/key/" + name + ".key"; in DelDBPassword() local
124 auto keyPath = path + "/key/" + name + ".key"; in LoadKeyFromFile() local
162 auto keyPath = path + "/key"; in SaveKeyToFile() local
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/
H A Dsecurity_manager.cpp56 auto keyPath = path + "/key/" + name + ".key"; in DelDBPassword() local
/ohos5.0/base/update/updater/test/unittest/package/
H A Dpkg_verify_unittest.cpp59 std::string keyPath = "invalid_key"; in TestExtraPackageFile() local
79 std::string keyPath = "invalid_key"; in TestExtraPackageDir() local
H A Dpackage_unittest.cpp212 std::string keyPath = ""; in TestVerifyPackageWithCallback() local
/ohos5.0/base/update/updater/test/fuzztest/package_fuzzer/
H A Dpackage_fuzzer.cpp198 std::string keyPath = ""; in TestVerifyPackageWithCallback() local
255 const std::string keyPath = "/data/fuzz/test/signing_cert.crt"; in FuzzVerifyPackage() local
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dstore_factory_test.cpp98 auto keyPath = path + "/key/" + name + ".key"; in GetDate() local
118 auto keyPath = path + "/key/" + name + ".key"; in ChangeKeyDate() local
/ohos5.0/base/update/updater/services/package/pkg_manager/
H A Dpkg_managerImpl.cpp278 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage()
395 …t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream()
685 int32_t PkgManagerImpl::VerifyPackage(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
968 int32_t PkgManagerImpl::VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) in DoCreatePkgStream()
1067 int32_t PkgManagerImpl::VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/
H A Ddbm_kv_store.c347 char keyPath[MAX_KEY_PATH + 1] = {0}; in DeleteValueFromFile() local
361 char keyPath[MAX_KEY_PATH + 1] = {0}; in IsNewItem() local
757 char keyPath[MAX_KEY_PATH + 1] = {0}; in GetValueByFile() local
850 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in SetValueToFile() local
1064 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in FindDataItem() local
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/
H A Daes_gcm_helper.cpp98 std::filesystem::path keyPath(keyDir); in GenerateKey() local
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dkey_control.c201 uint8_t KeyCtrlLoadVersion(const char *keyPath) in KeyCtrlLoadVersion()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_security_manager.cpp203 bool RdbSecurityManager::SaveSecretKeyToDisk(const std::string &keyPath, RdbSecretKeyData &keyData) in SaveSecretKeyToDisk()
474 bool RdbSecurityManager::LoadSecretKeyFromDisk(const std::string &keyPath, RdbSecretKeyData &keyDat… in LoadSecretKeyFromDisk()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/
H A Dconnect_context.cpp198 Secure::SecureChar keyPath = in ParseClientCert() local
/ohos5.0/base/update/updater/services/updater_binary/
H A Dupdate_processor.cpp470 … ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPath) in ProcessUpdater()
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dffi_structs.h54 char* keyPath; member

12