From 4cc39ded8c2edfb78dc84697fdb00902282d930a Mon Sep 17 00:00:00 2001 From: lwt999 Date: Wed, 14 Aug 2024 18:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BF=AE=E6=94=B9=EF=BC=9A?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=BF=87=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lwt999 --- api/@ohos.security.huks.d.ts | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/api/@ohos.security.huks.d.ts b/api/@ohos.security.huks.d.ts index e899de03d..56e249be7 100644 --- a/api/@ohos.security.huks.d.ts +++ b/api/@ohos.security.huks.d.ts @@ -172,7 +172,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -311,7 +312,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -469,7 +471,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -562,7 +565,8 @@ declare namespace huks { * @param { string } wrappingKeyAlias - wrappingKeyAlias indicates the name of key for wrapping the key to be imported. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -724,7 +728,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -882,7 +887,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1059,7 +1065,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1239,7 +1246,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1807,7 +1815,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key attestation operation. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.ATTEST_KEY or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.ATTEST_KEY or ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1913,7 +1922,8 @@ declare namespace huks { * @param { string } keyAlias - keyAlias indicates the key's name. * @param { HuksOptions } huksOptions - huksOptions indicates the properties of the key attestation operation. * @returns { Promise } the promise returned by the function. - * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. + * @throws { BusinessError } 201 - Permission denied. An attempt was made to use key as user forbidden by permission: + *
ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS. * @throws { BusinessError } 202 - not system app * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified.