• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Method or attribute name: grantUserGrantedPermission<br>Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;|@ohos.abilityAccessCtrl.d.ts|
4|Added|NA|Method or attribute name: grantUserGrantedPermission<br>Function name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;|@ohos.abilityAccessCtrl.d.ts|
5|Added|NA|Method or attribute name: revokeUserGrantedPermission<br>Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number): Promise<void>;|@ohos.abilityAccessCtrl.d.ts|
6|Added|NA|Method or attribute name: revokeUserGrantedPermission<br>Function name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlag: number, callback: AsyncCallback<void>): void;|@ohos.abilityAccessCtrl.d.ts|
7|Added|NA|Method or attribute name: permissionName<br>Function name: permissionName: Permissions;|@ohos.abilityAccessCtrl.d.ts|
8|Added|NA|Method or attribute name: addPermissionUsedRecord<br>Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number): Promise<void>;|@ohos.privacyManager.d.ts|
9|Added|NA|Method or attribute name: addPermissionUsedRecord<br>Function name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number, callback: AsyncCallback<void>): void;|@ohos.privacyManager.d.ts|
10|Added|NA|Method or attribute name: startUsingPermission<br>Function name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;|@ohos.privacyManager.d.ts|
11|Added|NA|Method or attribute name: startUsingPermission<br>Function name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;|@ohos.privacyManager.d.ts|
12|Added|NA|Method or attribute name: stopUsingPermission<br>Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;|@ohos.privacyManager.d.ts|
13|Added|NA|Method or attribute name: stopUsingPermission<br>Function name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;|@ohos.privacyManager.d.ts|
14|Added|NA|Method or attribute name: permissionNames<br>Function name: permissionNames: Array<Permissions>;|@ohos.privacyManager.d.ts|
15|Added|NA|Module name: ohos.security.huks<br>Class name: HuksSessionHandle|@ohos.security.huks.d.ts|
16|Added|NA|Module name: ohos.security.huks<br>Class name: HuksSessionHandle<br>Method or attribute name: handle|@ohos.security.huks.d.ts|
17|Added|NA|Module name: ohos.security.huks<br>Class name: HuksSessionHandle<br>Method or attribute name: challenge|@ohos.security.huks.d.ts|
18|Added|NA|Module name: ohos.security.huks<br>Class name: HuksReturnResult|@ohos.security.huks.d.ts|
19|Added|NA|Module name: ohos.security.huks<br>Class name: HuksReturnResult<br>Method or attribute name: outData|@ohos.security.huks.d.ts|
20|Added|NA|Module name: ohos.security.huks<br>Class name: HuksReturnResult<br>Method or attribute name: properties|@ohos.security.huks.d.ts|
21|Added|NA|Module name: ohos.security.huks<br>Class name: HuksReturnResult<br>Method or attribute name: certChains|@ohos.security.huks.d.ts|
22|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode|@ohos.security.huks.d.ts|
23|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_PERMISSION_FAIL|@ohos.security.huks.d.ts|
24|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_ILLEGAL_ARGUMENT|@ohos.security.huks.d.ts|
25|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_NOT_SUPPORTED_API|@ohos.security.huks.d.ts|
26|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_FEATURE_NOT_SUPPORTED|@ohos.security.huks.d.ts|
27|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_MISSING_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts|
28|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT|@ohos.security.huks.d.ts|
29|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_FILE_OPERATION_FAIL|@ohos.security.huks.d.ts|
30|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_COMMUNICATION_FAIL|@ohos.security.huks.d.ts|
31|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_CRYPTO_FAIL|@ohos.security.huks.d.ts|
32|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_PERMANENTLY_INVALIDATED|@ohos.security.huks.d.ts|
33|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_VERIFY_FAILED|@ohos.security.huks.d.ts|
34|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_TIME_OUT|@ohos.security.huks.d.ts|
35|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_SESSION_LIMIT|@ohos.security.huks.d.ts|
36|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_ITEM_NOT_EXIST|@ohos.security.huks.d.ts|
37|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_EXTERNAL_ERROR|@ohos.security.huks.d.ts|
38|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_CREDENTIAL_NOT_EXIST|@ohos.security.huks.d.ts|
39|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_INSUFFICIENT_MEMORY|@ohos.security.huks.d.ts|
40|Added|NA|Module name: ohos.security.huks<br>Class name: HuksExceptionErrCode<br>Method or attribute name: HUKS_ERR_CODE_CALL_SERVICE_FAILED|@ohos.security.huks.d.ts|
41|Deleted|Module name: ohos.security.cryptoFramework<br>Class name: Result<br>Method or attribute name: ERR_EXTERNAL_ERROR|NA|@ohos.security.cryptoFramework.d.ts|
42|Deleted|Module name: ohos.security.huks<br>Class name: huks<br>Method or attribute name: importWrappedKey|NA|@ohos.security.huks.d.ts|
43|Deleted|Module name: ohos.security.huks<br>Class name: huks<br>Method or attribute name: importWrappedKey|NA|@ohos.security.huks.d.ts|
44|Deleted|Module name: ohos.security.huks<br>Class name: huks<br>Method or attribute name: attestKey|NA|@ohos.security.huks.d.ts|
45|Deleted|Module name: ohos.security.huks<br>Class name: huks<br>Method or attribute name: attestKey|NA|@ohos.security.huks.d.ts|
46|Deprecated version changed|Method or attribute name: verifyAccessToken<br>Deprecated version: N/A|Method or attribute name: verifyAccessToken<br>Deprecated version: 9<br>Substitute API: ohos.abilityAccessCtrl.AtManager|@ohos.abilityAccessCtrl.d.ts|
47|Deprecated version changed|Method or attribute name: generateKey<br>Deprecated version: N/A|Method or attribute name: generateKey<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.generateKeyItem     |@ohos.security.huks.d.ts|
48|Deprecated version changed|Method or attribute name: generateKey<br>Deprecated version: N/A|Method or attribute name: generateKey<br>Deprecated version: 9|@ohos.security.huks.d.ts|
49|Deprecated version changed|Method or attribute name: deleteKey<br>Deprecated version: N/A|Method or attribute name: deleteKey<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.deleteKeyItem     |@ohos.security.huks.d.ts|
50|Deprecated version changed|Method or attribute name: deleteKey<br>Deprecated version: N/A|Method or attribute name: deleteKey<br>Deprecated version: 9|@ohos.security.huks.d.ts|
51|Deprecated version changed|Method or attribute name: importKey<br>Deprecated version: N/A|Method or attribute name: importKey<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.importKeyItem     |@ohos.security.huks.d.ts|
52|Deprecated version changed|Method or attribute name: importKey<br>Deprecated version: N/A|Method or attribute name: importKey<br>Deprecated version: 9|@ohos.security.huks.d.ts|
53|Deprecated version changed|Method or attribute name: exportKey<br>Deprecated version: N/A|Method or attribute name: exportKey<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.exportKeyItem     |@ohos.security.huks.d.ts|
54|Deprecated version changed|Method or attribute name: exportKey<br>Deprecated version: N/A|Method or attribute name: exportKey<br>Deprecated version: 9|@ohos.security.huks.d.ts|
55|Deprecated version changed|Method or attribute name: getKeyProperties<br>Deprecated version: N/A|Method or attribute name: getKeyProperties<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.getKeyItemProperties     |@ohos.security.huks.d.ts|
56|Deprecated version changed|Method or attribute name: getKeyProperties<br>Deprecated version: N/A|Method or attribute name: getKeyProperties<br>Deprecated version: 9|@ohos.security.huks.d.ts|
57|Deprecated version changed|Method or attribute name: isKeyExist<br>Deprecated version: N/A|Method or attribute name: isKeyExist<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.isKeyItemExist     |@ohos.security.huks.d.ts|
58|Deprecated version changed|Method or attribute name: isKeyExist<br>Deprecated version: N/A|Method or attribute name: isKeyExist<br>Deprecated version: 9|@ohos.security.huks.d.ts|
59|Deprecated version changed|Method or attribute name: init<br>Deprecated version: N/A|Method or attribute name: init<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.initSession     |@ohos.security.huks.d.ts|
60|Deprecated version changed|Method or attribute name: init<br>Deprecated version: N/A|Method or attribute name: init<br>Deprecated version: 9|@ohos.security.huks.d.ts|
61|Deprecated version changed|Method or attribute name: update<br>Deprecated version: N/A|Method or attribute name: update<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.updateSession     |@ohos.security.huks.d.ts|
62|Deprecated version changed|Method or attribute name: update<br>Deprecated version: N/A|Method or attribute name: update<br>Deprecated version: 9|@ohos.security.huks.d.ts|
63|Deprecated version changed|Method or attribute name: update<br>Deprecated version: N/A|Method or attribute name: update<br>Deprecated version: 9|@ohos.security.huks.d.ts|
64|Deprecated version changed|Method or attribute name: finish<br>Deprecated version: N/A|Method or attribute name: finish<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.finishSession     |@ohos.security.huks.d.ts|
65|Deprecated version changed|Method or attribute name: finish<br>Deprecated version: N/A|Method or attribute name: finish<br>Deprecated version: 9|@ohos.security.huks.d.ts|
66|Deprecated version changed|Method or attribute name: abort<br>Deprecated version: N/A|Method or attribute name: abort<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.abortSession     |@ohos.security.huks.d.ts|
67|Deprecated version changed|Method or attribute name: abort<br>Deprecated version: N/A|Method or attribute name: abort<br>Deprecated version: 9|@ohos.security.huks.d.ts|
68|Deprecated version changed|Class name: HuksHandle<br>Deprecated version: N/A|Class name: HuksHandle<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.HuksSessionHandle     |@ohos.security.huks.d.ts|
69|Deprecated version changed|Class name: HuksResult<br>Deprecated version: N/A|Class name: HuksResult<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.HuksReturnResult     |@ohos.security.huks.d.ts|
70|Deprecated version changed|Class name: HuksErrorCode<br>Deprecated version: N/A|Class name: HuksErrorCode<br>Deprecated version: 9<br>Substitute API: ohos.security.huks.HuksExceptionErrCode     |@ohos.security.huks.d.ts|
71|Deprecated version changed|Class name: Cipher<br>Deprecated version: N/A|Class name: Cipher<br>Deprecated version: 9<br>Substitute API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts|
72|Deprecated version changed|Method or attribute name: rsa<br>Deprecated version: N/A|Method or attribute name: rsa<br>Deprecated version: 9<br>Substitute API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts|
73|Deprecated version changed|Method or attribute name: aes<br>Deprecated version: N/A|Method or attribute name: aes<br>Deprecated version: 9<br>Substitute API: ohos.security.cryptoFramework.Cipher |@system.cipher.d.ts|
74|Initial version changed|Method or attribute name: getPermissionFlags<br>Initial version: 9|Method or attribute name: getPermissionFlags<br>Initial version: 8|@ohos.abilityAccessCtrl.d.ts|
75|Initial version changed|Method or attribute name: update<br>Initial version: 9|Method or attribute name: update<br>Initial version: 8|@ohos.security.huks.d.ts|
76|Initial version changed|Method or attribute name: update<br>Initial version: 9|Method or attribute name: update<br>Initial version: 8|@ohos.security.huks.d.ts|
77|Initial version changed|Method or attribute name: update<br>Initial version: 9|Method or attribute name: update<br>Initial version: 8|@ohos.security.huks.d.ts|
78|Error code added|NA|Method or attribute name: verifyAccessTokenSync<br>Error code: 401, 12100001|@ohos.abilityAccessCtrl.d.ts|
79|Error code added|NA|Method or attribute name: getPermissionFlags<br>Error code: 401, 201, 12100001, 12100002, 12100003, 12100006, 12100007|@ohos.abilityAccessCtrl.d.ts|
80|Error code added|NA|Method or attribute name: on_permissionStateChange<br>Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts|
81|Error code added|NA|Method or attribute name: off_permissionStateChange<br>Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.abilityAccessCtrl.d.ts|
82|Error code added|NA|Method or attribute name: getPermissionUsedRecords<br>Error code: 401, 201, 12100001, 12100002, 12100003, 12100007, 12100008|@ohos.privacyManager.d.ts|
83|Error code added|NA|Method or attribute name: on_activeStateChange<br>Error code: 401, 201, 12100001, 12100004, 12100005, 12100007, 12100008|@ohos.privacyManager.d.ts|
84|Error code added|NA|Method or attribute name: off_activeStateChange<br>Error code: 401, 201, 12100001, 12100004, 12100007, 12100008|@ohos.privacyManager.d.ts|
85