Home
last modified time | relevance | path

Searched refs:KeyType (Results 1 - 25 of 30) sorted by relevance

12

/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h66 KeyType type, bool needGenerateShield);
70 KeyType type);
80 int ActiveCeSceSeceUserKey(unsigned int user, KeyType type, const std::vector<uint8_t> &token,
83 int SetDirectoryElPolicy(unsigned int user, KeyType type,
86 int UpdateCeEceSeceKeyContext(uint32_t userId, KeyType type);
87 int getEceSeceKeyPath(unsigned int user, KeyType type, std::string &eceSeceKeyPath);
100 int RestoreUserKey(uint32_t userId, KeyType type);
102 std::string GetKeyDirByUserAndType(unsigned int user, KeyType type);
103 std::string GetKeyDirByType(KeyType type);
104 int GenerateUserKeyByType(unsigned int user, KeyType typ
[all...]
/foundation/communication/netstack/frameworks/native/tls_socket/include/
H A Dtls_key.h44 EncodingFormat format = PEM, KeyType type = PRIVATE_KEY);
57 void DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData &passPhrase);
58 void DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData &passPhrase);
60 void SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio);
72 KeyType keyType_ = PUBLIC_KEY;
H A Dtls.h49 enum KeyType { PRIVATE_KEY, PUBLIC_KEY }; enum
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.cpp634 void GetConfigString(KeyType type, int32_t value, std::string& buf) in GetConfigString()
642 case KeyType::ORIENTATION: in GetConfigString()
646 case KeyType::DEVICETYPE: in GetConfigString()
649 case KeyType::RESOLUTION: in GetConfigString()
652 case KeyType::COLOR_MODE: in GetConfigString()
655 case KeyType::DECLARATIVE_COLOR_MODE: in GetConfigString()
659 case KeyType::MCC: in GetConfigString()
662 case KeyType::MNC_SHORT_LEN: in GetConfigString()
665 case KeyType::MNC: in GetConfigString()
668 case KeyType in GetConfigString()
[all...]
H A Dace_res_data_struct.h25 enum class KeyType : int32_t { class
39 KeyType keyType;
H A Dace_res_key_parser.cpp159 keyParam.keyType = KeyType::MCC; in ParseMcc()
173 keyParam.keyType = KeyType::MNC; in ParseMnc()
175 keyParam.keyType = KeyType::MNC_SHORT_LEN; in ParseMnc()
188 keyParam.keyType = KeyType::SCREENSHAPE; in ParseScreenShape()
201 keyParam.keyType = KeyType::LONGSCREEN; in ParseLongScreen()
214 keyParam.keyType = KeyType::ORIENTATION; in ParseOrientation()
227 keyParam.keyType = KeyType::COLOR_MODE; in ParseColorMode()
240 keyParam.keyType = KeyType::DECLARATIVE_COLOR_MODE; in ParseDeclarativeColorMode()
253 keyParam.keyType = KeyType::DEVICETYPE; in ParseDeviceType()
266 keyParam.keyType = KeyType in ParseResolution()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp106 int32_t KeyManager::SetDirectoryElPolicy(unsigned int user, KeyType type, in SetDirectoryElPolicy()
117 int KeyManager::GenerateUserKeyByType(unsigned int user, KeyType type, in GenerateUserKeyByType()
124 int KeyManager::ActiveCeSceSeceUserKey(unsigned int user, KeyType type, in ActiveCeSceSeceUserKey()
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon.h115 std::string GetNeedRestoreFilePathByType(int32_t userId, KeyType type);
116 int32_t PrepareUserDirsAndUpdateUserAuth(uint32_t userId, KeyType type,
122 int32_t RestoreOneUserKey(int32_t userId, KeyType type);
124 int32_t GetCryptoFlag(KeyType type, uint32_t &flags);
125 int32_t GenerateKeyAndPrepareUserDirs(uint32_t userId, KeyType type,
128 int32_t ActiveUserKeyAndPrepare(uint32_t userId, KeyType type,
/foundation/filemanagement/storage_service/services/common/include/
H A Dstorage_service_constant.h70 enum KeyType { enum
77 static std::map<std::string, KeyType> EL_DIR_MAP = {
/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
H A Ddevice_profile_storage_manager.cpp133 const std::string& key, KeyType keyType) in GenerateKey()
155 keys.emplace_back(GenerateKey(localUdid_, serviceId, KeyType::SERVICE)); in PutDeviceProfile()
162 keys.emplace_back(GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST)); in PutDeviceProfile()
211 key = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in GetDeviceProfile()
220 key = GenerateKey(queryUdid, serviceId, KeyType::SERVICE); in GetDeviceProfile()
264 std::string key = GenerateKey(udid, SERVICES, KeyType::SERVICE_LIST); in SetServiceType()
299 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in DeleteDeviceProfile()
302 std::string serviceKey = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in DeleteDeviceProfile()
516 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in FlushProfileItems()
/foundation/arkui/ace_engine/advanced_ui_component/counter/interfaces/
H A Dcounter.js1666 if (g18.type === KeyType.Down &&
1672 if (g18.type === KeyType.Down &&
1796 if (g17.type === KeyType.Down &&
1807 if (g17.type === KeyType.Down &&
1902 if (b16.type === KeyType.Down &&
1908 if (b16.type === KeyType.Down &&
2030 if (b15.type === KeyType.Down &&
2041 if (b15.type === KeyType.Down &&
2154 if (y13.type === KeyType.Down &&
2159 if (y13.type === KeyType
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/include/dbstorage/
H A Ddevice_profile_storage_manager.h36 enum class KeyType : int8_t { class
73 std::string GenerateKey(const std::string& udid, const std::string& key, KeyType keyType);
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_security_manager_test.cpp30 using KeyType = RdbSecurityManager::KeyFileType;
86 auto password = RdbSecurityManager::GetInstance().GetRdbPassword(dbFile_, KeyType::PUB_KEY_FILE); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp45 KeyType type {KeyType::UNKNOWN};
71 profileKey->type = static_cast<KeyType>(type); in Parse()
138 if (profileKey == nullptr || profileKey->type != KeyType::SERVICE) { in ConvertEntry()
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsKeyTest.cpp190 KeyType typePublic = KeyType::PUBLIC_KEY; in HWTEST_F()
192 KeyType typePrivate = KeyType::PRIVATE_KEY; in HWTEST_F()
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsKeyTest.cpp190 KeyType typePublic = KeyType::PUBLIC_KEY; in HWTEST_F()
192 KeyType typePrivate = KeyType::PRIVATE_KEY; in HWTEST_F()
/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_key.cpp30 EncodingFormat encoding, KeyType type) in TLSKey()
162 void TLSKey::DecodeDer(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData &passPhrase) in DecodeDer()
203 void TLSKey::SwitchAlgorithm(KeyType type, KeyAlgorithm algorithm, BIO *bio) in SwitchAlgorithm()
244 void TLSKey::DecodePem(KeyType type, KeyAlgorithm algorithm, const std::string &fileName, const SecureData &passPhrase) in DecodePem()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp172 int KeyManager::GenerateAndInstallUserKey(uint32_t userId, const std::string &dir, const UserAuth &auth, KeyType type) in GenerateAndInstallUserKey()
253 int KeyManager::RestoreUserKey(uint32_t userId, const std::string &dir, const UserAuth &auth, KeyType type) in RestoreUserKey()
297 bool KeyManager::HasElkey(uint32_t userId, KeyType type) in HasElkey()
570 int KeyManager::GenerateIntegrityDirs(int32_t userId, KeyType type) in GenerateIntegrityDirs()
591 LOGE("upgrade scene:generate user key fail, userId %{public}d, KeyType %{public}d", userId, type); in GenerateIntegrityDirs()
616 int KeyManager::GenerateUserKeyByType(unsigned int user, KeyType type, in GenerateUserKeyByType()
884 KeyType type, bool needGenerateShield) in UpdateCeEceSeceUserAuth()
888 KeyType type) in UpdateCeEceSeceUserAuth()
965 std::string KeyManager::GetKeyDirByUserAndType(unsigned int user, KeyType type) in UpdateCeEceSeceUserAuth()
991 std::string KeyManager::GetKeyDirByType(KeyType typ in UpdateCeEceSeceUserAuth()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp239 int32_t StorageDaemon::GetCryptoFlag(KeyType type, uint32_t &flags) in GetCryptoFlag()
270 std::string StorageDaemon::GetNeedRestoreFilePathByType(int32_t userId, KeyType type) in GetNeedRestoreFilePathByType()
289 int32_t StorageDaemon::RestoreOneUserKey(int32_t userId, KeyType type) in RestoreOneUserKey()
346 std::vector<KeyType> keyTypes = {EL1_KEY, EL2_KEY, EL3_KEY, EL4_KEY, EL5_KEY}; in RestoreUserKey()
347 for (KeyType type : keyTypes) { in RestoreUserKey()
707 int32_t StorageDaemon::PrepareUserDirsAndUpdateUserAuth(uint32_t userId, KeyType type, in PrepareUserDirsAndUpdateUserAuth()
710 LOGI("start userId %{public}u KeyType %{public}u", userId, type); in PrepareUserDirsAndUpdateUserAuth()
779 int32_t StorageDaemon::GenerateKeyAndPrepareUserDirs(uint32_t userId, KeyType type, in GenerateKeyAndPrepareUserDirs()
790 LOGE("upgrade scene:generate user key fail, userId %{public}u, KeyType %{public}u, sec empty %{public}d", in GenerateKeyAndPrepareUserDirs()
816 int32_t StorageDaemon::ActiveUserKeyAndPrepare(uint32_t userId, KeyType typ
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp287 KeyType type = static_cast<KeyType>(eL6Key); in HWTEST_F()
464 KeyType type = EL1_KEY; in HWTEST_F()
485 type = static_cast<KeyType>(eL6Key); in HWTEST_F()
517 KeyType type = EL1_KEY; in HWTEST_F()
646 KeyType type = EL1_KEY; in HWTEST_F()
650 type = static_cast<KeyType>(eL6Key); in HWTEST_F()
921 EXPECT_EQ(KeyManager::GetInstance()->GetKeyDirByUserAndType(user, static_cast<KeyType>(0)), ""); in HWTEST_F()
939 EXPECT_EQ(KeyManager::GetInstance()->GetKeyDirByType(static_cast<KeyType>(0)), ""); in HWTEST_F()
1103 EXPECT_EQ(KeyManager::GetInstance()->GetUserElKey(user, static_cast<KeyType>( in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js673 if (m4.type === KeyType.Down) {
676 if (m4.type === KeyType.Up) {
988 if (q2.type === KeyType.Down) {
991 if (q2.type === KeyType.Up) {
1028 if (l2.type === KeyType.Down) {
1031 if (l2.type === KeyType.Up) {
1253 if (k1.type === KeyType.Down) {
1256 if (k1.type === KeyType.Up) {
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js532 var KeyType; variable
533 (function (KeyType) {
534 KeyType[KeyType["Down"] = 0] = "Down";
535 KeyType[KeyType["Up"] = 1] = "Up";
536 KeyType[KeyType["LongPress"] = 2] = "LongPress";
537 })(KeyType || (KeyType
[all...]
/foundation/arkui/ace_engine/advanced_ui_component/selecttitlebar/interfaces/
H A Dselecttitlebar.js821 if (event.type === KeyType.Down) {
824 if (event.type === KeyType.Up) {
1244 if (event.type === KeyType.Down) {
1247 if (event.type === KeyType.Up) {
/foundation/arkui/ace_engine/advanced_ui_component/composetitlebar/interfaces/
H A Dcomposetitlebar.js677 if (h5.type === KeyType.Down) {
680 if (h5.type === KeyType.Up) {
1076 if (f2.type === KeyType.Down) {
1079 if (f2.type === KeyType.Up) {
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_storage_test.cpp1121 keys.emplace_back(DeviceProfileStorageManager::GetInstance().GenerateKey("test123udid", "test", KeyType::SERVICE)); in HWTEST_F()
1162 DeviceProfileStorageManager::GetInstance().GenerateKey("test123udid", "test", KeyType::SERVICE); in HWTEST_F()
1410 "test123udid", "services", KeyType::SERVICE_LIST)); in HWTEST_F()

Completed in 25 milliseconds

12