未验证 提交 a0ed44c8 编写于 作者: O openharmony_ci 提交者: Gitee

!2303 修改示例代码

Merge pull request !2303 from 陈浩/cherry-pick-1647918953
...@@ -337,7 +337,7 @@ var alias = 'alias; ...@@ -337,7 +337,7 @@ var alias = 'alias;
var properties = new Array(); var properties = new Array();
properties[0] = { properties[0] = {
tag: huks.HuksTag.HUKS_TAG_ALGORITHM, tag: huks.HuksTag.HUKS_TAG_ALGORITHM,
value: huksHukssKeyAlg.HUKS_ALG_RSA value: huksHuksKeyAlg.HUKS_ALG_RSA
}; };
properties[1] = { properties[1] = {
tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, tag: huks.HuksTag.HUKS_TAG_KEY_SIZE,
...@@ -829,8 +829,6 @@ properties[1] = { ...@@ -829,8 +829,6 @@ properties[1] = {
properties[2] = { properties[2] = {
tag: huks.HksTag.HKS_TAG_KEY_SIZE tag: huks.HksTag.HKS_TAG_KEY_SIZE
value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096
};
value: huks.HuksKeyDigest.HUKS_DIGEST_NONE
}; };
var options = { var options = {
properties: properties properties: properties
...@@ -916,8 +914,6 @@ properties[1] = { ...@@ -916,8 +914,6 @@ properties[1] = {
properties[2] = { properties[2] = {
tag: huks.HksTag.HKS_TAG_KEY_SIZE tag: huks.HksTag.HKS_TAG_KEY_SIZE
value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096
};
value: huks.HuksKeyDigest.HUKS_DIGEST_NONE
}; };
var options = { var options = {
properties: properties properties: properties
...@@ -990,8 +986,6 @@ properties[1] = { ...@@ -990,8 +986,6 @@ properties[1] = {
properties[2] = { properties[2] = {
tag: huks.HksTag.HKS_TAG_KEY_SIZE tag: huks.HksTag.HKS_TAG_KEY_SIZE
value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096
};
value: huks.HuksKeyDigest.HUKS_DIGEST_NONE
}; };
var options = { var options = {
properties: properties properties: properties
...@@ -1065,8 +1059,6 @@ properties[1] = { ...@@ -1065,8 +1059,6 @@ properties[1] = {
properties[2] = { properties[2] = {
tag: huks.HksTag.HKS_TAG_KEY_SIZE tag: huks.HksTag.HKS_TAG_KEY_SIZE
value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096
};
value: huks.HuksKeyDigest.HUKS_DIGEST_NONE
}; };
var options = { var options = {
properties: properties properties: properties
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册