/ohos5.0/base/security/asset/services/core_service/src/operations/ |
H A D | operation_query.rs | 44 let secret = db_data.get_bytes_attr(&column::SECRET)?; in upgrade_version() 49 update_data.insert(column::SECRET, Value::Bytes(cipher)); in upgrade_version() 63 let secret = db_data.get_bytes_attr(&column::SECRET)?; in decrypt_secret() 66 db_data.insert(column::SECRET, Value::Bytes(secret)); in decrypt_secret() 75 let secret = db_data.get_bytes_attr(&column::SECRET)?; in exec_crypto() 81 db_data.insert(column::SECRET, Value::Bytes(secret)); in exec_crypto() 150 data.remove(&column::SECRET); in query_attrs()
|
H A D | operation_update.rs | 31 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt() 123 result.insert(column::SECRET, update[&Tag::Secret].clone()); in update() 129 update_db_data.insert(column::SECRET, Value::Bytes(cipher)); in update()
|
H A D | operation_add.rs | 39 let secret = db_data.get_bytes_attr(&column::SECRET)?; in encrypt_secret() 41 db_data.insert(column::SECRET, Value::Bytes(cipher)); in encrypt_secret()
|
H A D | common.rs | 35 (Tag::Secret, column::SECRET),
|
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/ |
H A D | asset-native-add.md | 65 static const char *SECRET = "demo_pwd"; 69 Asset_Blob secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
|
H A D | asset-native-update.md | 68 static const char *SECRET = "demo_pwd_new"; 72 Asset_Blob new_secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
|
H A D | asset-js-add.md | 15 | SECRET | 类型为Uint8Array,长度为1-1024字节。 | 必选 | 关键资产明文。 … 69 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd'));
|
H A D | asset-js-update.md | 40 …| SECRET | 类型为Uint8Array,长度为1-1024字节。 | 可选 | 关键资产明文。 … 72 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));
|
H A D | asset-js-query.md | 75 let secret: Uint8Array = res[i].get(asset.Tag.SECRET) as Uint8Array;
|
H A D | asset-js-query-auth.md | 177 let secret: Uint8Array = res[i].get(asset.Tag.SECRET) as Uint8Array;
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 204 EXPECT_EQ(NotificationConstant::VisiblenessType::SECRET, spSlot->GetLockScreenVisibleness()); 249 EXPECT_EQ(NotificationConstant::VisiblenessType::SECRET, spSlot->GetLockScreenVisibleness()); 298 EXPECT_EQ(NotificationConstant::VisiblenessType::SECRET, spSlot->GetLockScreenVisibleness()); 355 EXPECT_EQ(NotificationConstant::VisiblenessType::SECRET, slot.GetLockScreenVisibleness()); 372 EXPECT_EQ(NotificationConstant::VisiblenessType::SECRET, slot.GetLockScreenVisibleness());
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_slot.cpp | 157 SetLockscreenVisibleness(NotificationConstant::VisiblenessType::SECRET); in SetType() 173 SetLockscreenVisibleness(NotificationConstant::VisiblenessType::SECRET); in SetType() 189 SetLockscreenVisibleness(NotificationConstant::VisiblenessType::SECRET); in SetType()
|
/ohos5.0/base/security/asset/test/unittest/inner_kits_rust/src/ |
H A D | common.rs | 57 pub(crate) const SECRET: &[u8] = "all_tags_secret".as_bytes(); 109 attrs.insert_attr(Tag::Secret, SECRET.to_vec()); in add_all_tags_asset()
|
/ohos5.0/docs/en/application-dev/security/AssetStoreKit/ |
H A D | asset-native-add.md | 65 static const char *SECRET = "demo_pwd"; 69 Asset_Blob secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
|
H A D | asset-native-update.md | 68 static const char *SECRET = "demo_pwd_new"; 72 Asset_Blob new_secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
|
H A D | asset-js-add.md | 15 | SECRET | Type: Uint8Array<br>Length: 1-1024 bytes | Yes … 69 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd'));
|
H A D | asset-js-update.md | 41 …| SECRET | Type: Uint8Array<br>Length: 1-1024 bytes | No … 72 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));
|
/ohos5.0/base/security/asset/services/db_operator/src/ |
H A D | types.rs | 48 pub const SECRET: &str = "Secret"; const 119 …ColumnInfo { name: column::SECRET, data_type: DataType::Bytes, is_primary_key: false, not_null: tr…
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_constant.h | 98 SECRET, enumerator
|
/ohos5.0/base/security/asset/services/db_operator/src/test/ |
H A D | test_database.rs | 74 db_data.insert(column::SECRET, Value::Bytes(column::SECRET.as_bytes().to_vec())); in add_bytes_column()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-asset-store-kit/ |
H A D | js-apis-asset.md | 74 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 143 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 335 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new')); 400 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new')); 818 | SECRET | TagType.BYTES | 0x01 | 关键资产明文。<br>**原子化服务API:** 从API version 14…
|
H A D | js-apis-asset-sys.md | 78 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 226 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));
|
/ohos5.0/base/telephony/sms_mms/services/sms/include/cdma/ |
H A D | cdma_sms_common.h | 55 enum class SmsPrivacyIndicator : uint8_t { NOT_RESTRICTED = 0x00, RESTRICTED, CONFIDENTIAL, SECRET … enumerator
|
/ohos5.0/docs/en/application-dev/reference/apis-asset-store-kit/ |
H A D | js-apis-asset.md | 74 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 143 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 335 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new')); 400 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new')); 818 | SECRET | TagType.BYTES | 0x01 | Asset plaintext.<br>**Atomic service API…
|
H A D | js-apis-asset-sys.md | 78 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd')); 226 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));
|