提交 0543db80 编写于 作者: G gaoshuyang

add code for huks demo

Signed-off-by: Ngaoshuyang <gaoshuyang2@huawei.com>
上级 467468a7
...@@ -1089,6 +1089,8 @@ isKeyItemExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback\< ...@@ -1089,6 +1089,8 @@ isKeyItemExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback\<
**示例:** **示例:**
```js ```js
import promptAction from '@ohos.promptAction';
/* 此处options选择emptyOptions来传空 */ /* 此处options选择emptyOptions来传空 */
let keyAlias = 'keyAlias'; let keyAlias = 'keyAlias';
let emptyOptions = { let emptyOptions = {
...@@ -1133,6 +1135,8 @@ isKeyItemExist(keyAlias: string, options: HuksOptions) : Promise\<boolean> ...@@ -1133,6 +1135,8 @@ isKeyItemExist(keyAlias: string, options: HuksOptions) : Promise\<boolean>
**示例:** **示例:**
```js ```js
import huks from '@ohos.security.huks';
/* 此处options选择emptyOptions来传空 */ /* 此处options选择emptyOptions来传空 */
let keyAlias = 'keyAlias'; let keyAlias = 'keyAlias';
let emptyOptions = { let emptyOptions = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册