From 9ab2135844431c50b3ebe14382da05df8df2129a Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Thu, 6 Jul 2023 20:58:53 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/application-dev/reference/apis/js-apis-huks.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-huks.md b/en/application-dev/reference/apis/js-apis-huks.md index 11c2f8d4ea..c20c2ea248 100644 --- a/en/application-dev/reference/apis/js-apis-huks.md +++ b/en/application-dev/reference/apis/js-apis-huks.md @@ -48,7 +48,7 @@ Defines the HUKS handle structure. ## HuksReturnResult9+ -Defines the **HuksResult** structure. +Defines the **HuksResult** struct. **System capability**: SystemCapability.Security.Huks @@ -2260,8 +2260,8 @@ Enumerates the key storage modes. | Name | Value | Description | | -------------------------------------------- | ---- | ------------------------------ | -| HUKS_STORAGE_TEMP | 0 | The key is managed locally. | -| HUKS_STORAGE_PERSISTENT | 1 | The key is managed by the HUKS service.| +| HUKS_STORAGE_TEMP(deprecated) | 0 | The key is managed locally.
**NOTE**: This tag is discarded since API version 10. No substitute is provided because this tag is not used in key management. In key derivation scenarios, use **HUKS_STORAGE_ONLY_USED_IN_HUKS** or **HUKS_STORAGE_KEY_EXPORT_ALLOWED**.| +| HUKS_STORAGE_PERSISTENT(deprecated) | 1 | The key is managed by the HUKS service.
**NOTE**: This tag is discarded since API version 10. No substitute is provided because this tag is not used in key management. In key derivation scenarios, use **HUKS_STORAGE_ONLY_USED_IN_HUKS** or **HUKS_STORAGE_KEY_EXPORT_ALLOWED**.| | HUKS_STORAGE_ONLY_USED_IN_HUKS10+ | 2 | The key is stored only in the HUKS. | | HUKS_STORAGE_KEY_EXPORT_ALLOWED10+ | 3 | The key is exported from the HUKS and is not stored.| @@ -3334,7 +3334,7 @@ Defines the HUKS handle structure. ## HuksResult(deprecated) -Defines the **HuksResult** structure. +Defines the **HuksResult** struct. **System capability**: SystemCapability.Security.Huks -- GitLab