Home
last modified time | relevance | path

Searched refs:SECRET (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Doperation_query.rs44 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 Doperation_update.rs31 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 Doperation_add.rs39 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 Dcommon.rs35 (Tag::Secret, column::SECRET),
/ohos5.0/docs/zh-cn/application-dev/security/AssetStoreKit/
H A Dasset-native-add.md65 static const char *SECRET = "demo_pwd";
69 Asset_Blob secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
H A Dasset-native-update.md68 static const char *SECRET = "demo_pwd_new";
72 Asset_Blob new_secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
H A Dasset-js-add.md15 | SECRET | 类型为Uint8Array,长度为1-1024字节。 | 必选 | 关键资产明文。 …
69 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd'));
H A Dasset-js-update.md40 …| SECRET | 类型为Uint8Array,长度为1-1024字节。 | 可选 | 关键资产明文。 …
72 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));
H A Dasset-js-query.md75 let secret: Uint8Array = res[i].get(asset.Tag.SECRET) as Uint8Array;
H A Dasset-js-query-auth.md177 let secret: Uint8Array = res[i].get(asset.Tag.SECRET) as Uint8Array;
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp204 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 Dnotification_slot.cpp157 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 Dcommon.rs57 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 Dasset-native-add.md65 static const char *SECRET = "demo_pwd";
69 Asset_Blob secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
H A Dasset-native-update.md68 static const char *SECRET = "demo_pwd_new";
72 Asset_Blob new_secret = { (uint32_t)(strlen(SECRET)), (uint8_t *)SECRET };
H A Dasset-js-add.md15 | SECRET | Type: Uint8Array<br>Length: 1-1024 bytes | Yes …
69 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd'));
H A Dasset-js-update.md41 …| 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 Dtypes.rs48 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 Dnotification_constant.h98 SECRET, enumerator
/ohos5.0/base/security/asset/services/db_operator/src/test/
H A Dtest_database.rs74 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 Djs-apis-asset.md74 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 &#124; 0x01 | 关键资产明文。<br>**原子化服务API:** 从API version 14…
H A Djs-apis-asset-sys.md78 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 Dcdma_sms_common.h55 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 Djs-apis-asset.md74 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 &#124; 0x01 | Asset plaintext.<br>**Atomic service API…
H A Djs-apis-asset-sys.md78 attr.set(asset.Tag.SECRET, stringToArray('demo_pwd'));
226 attrsToUpdate.set(asset.Tag.SECRET, stringToArray('demo_pwd_new'));

12