diff --git a/zh-cn/application-dev/reference/apis/js-apis-huks.md b/zh-cn/application-dev/reference/apis/js-apis-huks.md index 6efd2885bf3807dd7337ddc920aeb38ed42aab11..8870f4fa4b885ba49fd9d124902057a8f689aa88 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-huks.md +++ b/zh-cn/application-dev/reference/apis/js-apis-huks.md @@ -337,7 +337,7 @@ var alias = 'alias; var properties = new Array(); properties[0] = { tag: huks.HuksTag.HUKS_TAG_ALGORITHM, - value: huksHukssKeyAlg.HUKS_ALG_RSA + value: huksHuksKeyAlg.HUKS_ALG_RSA }; properties[1] = { tag: huks.HuksTag.HUKS_TAG_KEY_SIZE, @@ -829,8 +829,6 @@ properties[1] = { properties[2] = { tag: huks.HksTag.HKS_TAG_KEY_SIZE value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 -}; - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE }; var options = { properties: properties @@ -916,8 +914,6 @@ properties[1] = { properties[2] = { tag: huks.HksTag.HKS_TAG_KEY_SIZE value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 -}; - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE }; var options = { properties: properties @@ -990,8 +986,6 @@ properties[1] = { properties[2] = { tag: huks.HksTag.HKS_TAG_KEY_SIZE value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 -}; - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE }; var options = { properties: properties @@ -1065,8 +1059,6 @@ properties[1] = { properties[2] = { tag: huks.HksTag.HKS_TAG_KEY_SIZE value: huks.HksKeySize.HKS_DH_KEY_SIZE_4096 -}; - value: huks.HuksKeyDigest.HUKS_DIGEST_NONE }; var options = { properties: properties