harmony 鸿蒙js-apidiff-security

  • 2023-02-03
  • 浏览 (456)

Change Type Old Version New Version d.ts File
Added NA Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;
@ohos.abilityAccessCtrl.d.ts
Added NA Method or attribute name: grantUserGrantedPermission
Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;
@ohos.abilityAccessCtrl.d.ts
Added NA Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise;
@ohos.abilityAccessCtrl.d.ts
Added NA Method or attribute name: revokeUserGrantedPermission
Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback): void;
@ohos.abilityAccessCtrl.d.ts
Added NA Method or attribute name: permissionName
Function name: permissionName: Permissions;
@ohos.abilityAccessCtrl.d.ts
Added NA Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number): Promise;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: addPermissionUsedRecord
Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number, callback: AsyncCallback): void;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: startUsingPermission
Function name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: stopUsingPermission
Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback): void;
@ohos.privacyManager.d.ts
Added NA Method or attribute name: permissionNames
Function name: permissionNames: Array;
@ohos.privacyManager.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksSessionHandle
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: handle
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksSessionHandle
Method or attribute name: challenge
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksReturnResult
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: outData
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: properties
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksReturnResult
Method or attribute name: certChains
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_PERMISSION_FAIL
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ILLEGAL_ARGUMENT
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_NOT_SUPPORTED_API
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FEATURE_NOT_SUPPORTED
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_MISSING_CRYPTO_ALG_ARGUMENT
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_FILE_OPERATION_FAIL
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_COMMUNICATION_FAIL
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CRYPTO_FAIL
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_PERMANENTLY_INVALIDATED
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_VERIFY_FAILED
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_TIME_OUT
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_SESSION_LIMIT
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_ITEM_NOT_EXIST
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_EXTERNAL_ERROR
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CREDENTIAL_NOT_EXIST
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_INSUFFICIENT_MEMORY
@ohos.security.huks.d.ts
Added NA Module name: ohos.security.huks
Class name: HuksExceptionErrCode
Method or attribute name: HUKS_ERR_CODE_CALL_SERVICE_FAILED
@ohos.security.huks.d.ts
Deleted Module name: ohos.security.cryptoFramework
Class name: Result
Method or attribute name: ERR_EXTERNAL_ERROR
NA @ohos.security.cryptoFramework.d.ts
Deleted Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: huks
Method or attribute name: importWrappedKey
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey
NA @ohos.security.huks.d.ts
Deleted Module name: ohos.security.huks
Class name: huks
Method or attribute name: attestKey
NA @ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: verifyAccessToken
Deprecated version: N/A
Method or attribute name: verifyAccessToken
Deprecated version: 9
Substitute API: ohos.abilityAccessCtrl.AtManager
@ohos.abilityAccessCtrl.d.ts
Deprecated version changed Method or attribute name: generateKey
Deprecated version: N/A
Method or attribute name: generateKey
Deprecated version: 9
Substitute API: ohos.security.huks.generateKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: generateKey
Deprecated version: N/A
Method or attribute name: generateKey
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: deleteKey
Deprecated version: N/A
Method or attribute name: deleteKey
Deprecated version: 9
Substitute API: ohos.security.huks.deleteKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: deleteKey
Deprecated version: N/A
Method or attribute name: deleteKey
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: importKey
Deprecated version: N/A
Method or attribute name: importKey
Deprecated version: 9
Substitute API: ohos.security.huks.importKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: importKey
Deprecated version: N/A
Method or attribute name: importKey
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: exportKey
Deprecated version: N/A
Method or attribute name: exportKey
Deprecated version: 9
Substitute API: ohos.security.huks.exportKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: exportKey
Deprecated version: N/A
Method or attribute name: exportKey
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: getKeyProperties
Deprecated version: N/A
Method or attribute name: getKeyProperties
Deprecated version: 9
Substitute API: ohos.security.huks.getKeyItemProperties
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: getKeyProperties
Deprecated version: N/A
Method or attribute name: getKeyProperties
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: isKeyExist
Deprecated version: N/A
Method or attribute name: isKeyExist
Deprecated version: 9
Substitute API: ohos.security.huks.isKeyItemExist
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: isKeyExist
Deprecated version: N/A
Method or attribute name: isKeyExist
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: init
Deprecated version: N/A
Method or attribute name: init
Deprecated version: 9
Substitute API: ohos.security.huks.initSession
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: init
Deprecated version: N/A
Method or attribute name: init
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: update
Deprecated version: N/A
Method or attribute name: update
Deprecated version: 9
Substitute API: ohos.security.huks.updateSession
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: update
Deprecated version: N/A
Method or attribute name: update
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: update
Deprecated version: N/A
Method or attribute name: update
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: finish
Deprecated version: N/A
Method or attribute name: finish
Deprecated version: 9
Substitute API: ohos.security.huks.finishSession
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: finish
Deprecated version: N/A
Method or attribute name: finish
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: abort
Deprecated version: N/A
Method or attribute name: abort
Deprecated version: 9
Substitute API: ohos.security.huks.abortSession
@ohos.security.huks.d.ts
Deprecated version changed Method or attribute name: abort
Deprecated version: N/A
Method or attribute name: abort
Deprecated version: 9
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksHandle
Deprecated version: N/A
Class name: HuksHandle
Deprecated version: 9
Substitute API: ohos.security.huks.HuksSessionHandle
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult
Deprecated version: N/A
Class name: HuksResult
Deprecated version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode
Deprecated version: N/A
Class name: HuksErrorCode
Deprecated version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: Cipher
Deprecated version: N/A
Class name: Cipher
Deprecated version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Deprecated version changed Method or attribute name: rsa
Deprecated version: N/A
Method or attribute name: rsa
Deprecated version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Deprecated version changed Method or attribute name: aes
Deprecated version: N/A
Method or attribute name: aes
Deprecated version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Initial version changed Method or attribute name: getPermissionFlags
Initial version: 9
Method or attribute name: getPermissionFlags
Initial version: 8
@ohos.abilityAccessCtrl.d.ts
Initial version changed Method or attribute name: update
Initial version: 9
Method or attribute name: update
Initial version: 8
@ohos.security.huks.d.ts
Initial version changed Method or attribute name: update
Initial version: 9
Method or attribute name: update
Initial version: 8
@ohos.security.huks.d.ts
Initial version changed Method or attribute name: update
Initial version: 9
Method or attribute name: update
Initial version: 8
@ohos.security.huks.d.ts
Error code added NA Method or attribute name: verifyAccessTokenSync
Error code: 401, 12100001
@ohos.abilityAccessCtrl.d.ts
Error code added NA Method or attribute name: getPermissionFlags
Error code: 401, 201, 12100001, 12100002, 12100003, 12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code added NA Method or attribute name: on_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008
@ohos.abilityAccessCtrl.d.ts
Error code added NA Method or attribute name: off_permissionStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008
@ohos.abilityAccessCtrl.d.ts
Error code added NA Method or attribute name: getPermissionUsedRecords
Error code: 401, 201, 12100001, 12100002, 12100003, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code added NA Method or attribute name: on_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code added NA Method or attribute name: off_activeStateChange
Error code: 401, 201, 12100001, 12100004, 12100007, 12100008
@ohos.privacyManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞