Change Type Old Version New Version d.ts File
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(callback: AsyncCallback<KeyPair>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(): Promise<KeyPair>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AtManager;
Method or attribute name: checkAccessTokenSync(tokenID: number, permissionName: Permissions): GrantStatus;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function isDLPFile(fd: number): Promise<boolean>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function isDLPFile(fd: number, callback: AsyncCallback<boolean>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPPermissionInfo(): Promise<DLPPermissionInfo>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPPermissionInfo(callback: AsyncCallback<DLPPermissionInfo>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getOriginalFileName(fileName: string): string;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPSuffix(): string;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function on(type: 'openDLPFile', listener: Callback<AccessedDLPFileInfo>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function on(type: 'uninstallDLPSandbox', listener: Callback<DLPSandboxState>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function off(type: 'openDLPFile', listener?: Callback<AccessedDLPFileInfo>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function off(type: 'uninstallDLPSandbox', listener?: Callback<DLPSandboxState>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function isInSandbox(): Promise<boolean>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function isInSandbox(callback: AsyncCallback<boolean>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPSupportedFileTypes(): Promise<Array<string>>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPSupportedFileTypes(callback: AsyncCallback<Array<string>>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function setRetentionState(docUris: Array<string>): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function setRetentionState(docUris: Array<string>, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function cancelRetentionState(docUris: Array<string>): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function cancelRetentionState(docUris: Array<string>, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getRetentionSandboxList(bundleName?: string): Promise<Array<RetentionSandboxInfo>>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getRetentionSandboxList(bundleName: string, callback: AsyncCallback<Array<RetentionSandboxInfo>>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getRetentionSandboxList(callback: AsyncCallback<Array<RetentionSandboxInfo>>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPFileAccessRecords(): Promise<Array<AccessedDLPFileInfo>>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPFileAccessRecords(callback: AsyncCallback<Array<AccessedDLPFileInfo>>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPGatheringPolicy(): Promise<GatheringPolicyType>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function getDLPGatheringPolicy(callback: AsyncCallback<GatheringPolicyType>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function installDLPSandbox(
bundleName: string,
access: DLPFileAccess,
userId: number,
uri: string
): Promise<DLPSandboxInfo>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function installDLPSandbox(
bundleName: string,
access: DLPFileAccess,
userId: number,
uri: string,
callback: AsyncCallback<DLPSandboxInfo>
): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function uninstallDLPSandbox(bundleName: string, userId: number, appIndex: number): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function uninstallDLPSandbox(
bundleName: string,
userId: number,
appIndex: number,
callback: AsyncCallback<void>
): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function generateDLPFile(plaintextFd: number, ciphertextFd: number, property: DLPProperty): Promise<DLPFile>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function generateDLPFile(
plaintextFd: number,
ciphertextFd: number,
property: DLPProperty,
callback: AsyncCallback<DLPFile>
): void;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function openDLPFile(ciphertextFd: number): Promise<DLPFile>;
@ohos.dlpPermission.d.ts
Added NA Class name: dlpPermission;
Method or attribute name: function openDLPFile(ciphertextFd: number, callback: AsyncCallback<DLPFile>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_VIEW = 0x00000001
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_SAVE = 0x00000002
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_SAVE_AS = 0x00000004
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_EDIT = 0x00000008
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_SCREEN_CAPTURE = 0x00000010
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_SCREEN_SHARE = 0x00000020
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_SCREEN_RECORD = 0x00000040
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_COPY = 0x00000080
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_PRINT = 0x00000100
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_EXPORT = 0x00000200
@ohos.dlpPermission.d.ts
Added NA Class name: ActionFlagType;
Method or attribute name: ACTION_PERMISSION_CHANGE = 0x00000400
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFileAccess;
Method or attribute name: NO_PERMISSION = 0
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFileAccess;
Method or attribute name: READ_ONLY = 1
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFileAccess;
Method or attribute name: CONTENT_EDIT = 2
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFileAccess;
Method or attribute name: FULL_CONTROL = 3
@ohos.dlpPermission.d.ts
Added NA Class name: DLPPermissionInfo;
Method or attribute name: dlpFileAccess: DLPFileAccess;
@ohos.dlpPermission.d.ts
Added NA Class name: AuthUser;
Method or attribute name: dlpFileAccess: DLPFileAccess;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPPermissionInfo;
Method or attribute name: flags: number;
@ohos.dlpPermission.d.ts
Added NA Class name: AccessedDLPFileInfo;
Method or attribute name: uri: string;
@ohos.dlpPermission.d.ts
Added NA Class name: AccessedDLPFileInfo;
Method or attribute name: lastOpenTime: number;
@ohos.dlpPermission.d.ts
Added NA Class name: RetentionSandboxInfo;
Method or attribute name: appIndex: number;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPSandboxInfo;
Method or attribute name: appIndex: number;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPSandboxState;
Method or attribute name: appIndex: number;
@ohos.dlpPermission.d.ts
Added NA Class name: RetentionSandboxInfo;
Method or attribute name: bundleName: string;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPSandboxState;
Method or attribute name: bundleName: string;
@ohos.dlpPermission.d.ts
Added NA Class name: RetentionSandboxInfo;
Method or attribute name: docUris: Array<string>;
@ohos.dlpPermission.d.ts
Added NA Class name: GatheringPolicyType;
Method or attribute name: GATHERING = 1
@ohos.dlpPermission.d.ts
Added NA Class name: GatheringPolicyType;
Method or attribute name: NON_GATHERING = 2
@ohos.dlpPermission.d.ts
Added NA Class name: DLPSandboxInfo;
Method or attribute name: tokenID: number;
@ohos.dlpPermission.d.ts
Added NA Class name: AccountType;
Method or attribute name: CLOUD_ACCOUNT = 1
@ohos.dlpPermission.d.ts
Added NA Class name: AccountType;
Method or attribute name: DOMAIN_ACCOUNT = 2
@ohos.dlpPermission.d.ts
Added NA Class name: AuthUser;
Method or attribute name: authAccount: string;
@ohos.dlpPermission.d.ts
Added NA Class name: AuthUser;
Method or attribute name: authAccountType: AccountType;
@ohos.dlpPermission.d.ts
Added NA Class name: AuthUser;
Method or attribute name: permExpiryTime: number;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: ownerAccount: string;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: ownerAccountID: string;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: ownerAccountType: AccountType;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: authUserList?: Array<AuthUser>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: contactAccount: string;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: offlineAccess: boolean;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPProperty;
Method or attribute name: everyoneAccessList?: Array<DLPFileAccess>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: dlpProperty: DLPProperty;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: addDLPLinkFile(linkFileName: string): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: addDLPLinkFile(linkFileName: string, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: stopFuseLink(): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: stopFuseLink(callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: resumeFuseLink(): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: resumeFuseLink(callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: replaceDLPLinkFile(linkFileName: string): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: replaceDLPLinkFile(linkFileName: string, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: deleteDLPLinkFile(linkFileName: string): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: deleteDLPLinkFile(linkFileName: string, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: recoverDLPFile(plaintextFd: number): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: recoverDLPFile(plaintextFd: number, callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: closeDLPFile(): Promise<void>;
@ohos.dlpPermission.d.ts
Added NA Class name: DLPFile;
Method or attribute name: closeDLPFile(callback: AsyncCallback<void>): void;
@ohos.dlpPermission.d.ts
Added NA Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback<CertExtension>): void;
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob): Promise<CertExtension>;
@ohos.security.cert.d.ts
Added NA Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_TBS = 0
@ohos.security.cert.d.ts
Added NA Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_PUBLIC_KEY = 1
@ohos.security.cert.d.ts
Added NA Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2
@ohos.security.cert.d.ts
Added NA Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3
@ohos.security.cert.d.ts
Added NA Class name: CertItemType;
Method or attribute name: CERT_ITEM_TYPE_EXTENSIONS = 4
@ohos.security.cert.d.ts
Added NA Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_ALL = 0
@ohos.security.cert.d.ts
Added NA Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_CRITICAL = 1
@ohos.security.cert.d.ts
Added NA Class name: ExtensionOidType;
Method or attribute name: EXTENSION_OID_TYPE_UNCRITICAL = 2
@ohos.security.cert.d.ts
Added NA Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY = 0
@ohos.security.cert.d.ts
Added NA Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1
@ohos.security.cert.d.ts
Added NA Class name: ExtensionEntryType;
Method or attribute name: EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getCertSerialNumber(): bigint;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getItem(itemType: CertItemType): DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: CertExtension;
Method or attribute name: getEncoded(): EncodingBlob;
@ohos.security.cert.d.ts
Added NA Class name: CertExtension;
Method or attribute name: getOidList(valueType: ExtensionOidType): DataArray;
@ohos.security.cert.d.ts
Added NA Class name: CertExtension;
Method or attribute name: getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: CertExtension;
Method or attribute name: checkCA(): number;
@ohos.security.cert.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: PriKey;
Method or attribute name: getAsyKeySpec(itemType: AsyKeySpecItem): bigint | string | number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: PubKey;
Method or attribute name: getAsyKeySpec(itemType: AsyKeySpecItem): bigint | string | number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Random;
Method or attribute name: generateRandomSync(len: number): DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Random;
Method or attribute name: readonly algName: string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: readonly algName: string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob | null, priKey: DataBlob | null, callback: AsyncCallback<KeyPair>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob | null, priKey: DataBlob | null): Promise<KeyPair>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CipherSpecItem;
Method or attribute name: OAEP_MD_NAME_STR = 100
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF_NAME_STR = 101
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF1_MD_STR = 102
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CipherSpecItem;
Method or attribute name: OAEP_MGF1_PSRC_UINT8ARR = 103
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SignSpecItem;
Method or attribute name: PSS_MD_NAME_STR = 100
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SignSpecItem;
Method or attribute name: PSS_MGF_NAME_STR = 101
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SignSpecItem;
Method or attribute name: PSS_MGF1_MD_STR = 102
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SignSpecItem;
Method or attribute name: PSS_SALT_LEN_NUM = 103
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SignSpecItem;
Method or attribute name: PSS_TRAILER_FIELD_NUM = 104
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: init(opMode: CryptoMode, key: Key, params: ParamsSpec | null, callback: AsyncCallback<void>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: init(opMode: CryptoMode, key: Key, params: ParamsSpec | null): Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: doFinal(data: DataBlob | null, callback: AsyncCallback<DataBlob>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: doFinal(data: DataBlob | null): Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: getCipherSpec(itemType: CipherSpecItem): string | Uint8Array;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: sign(data: DataBlob | null, callback: AsyncCallback<DataBlob>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: sign(data: DataBlob | null): Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: setSignSpec(itemType: SignSpecItem, itemValue: number): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: getSignSpec(itemType: SignSpecItem): string | number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: verify(data: DataBlob | null, signatureData: DataBlob, callback: AsyncCallback<boolean>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: verify(data: DataBlob | null, signatureData: DataBlob): Promise<boolean>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: setVerifySpec(itemType: SignSpecItem, itemValue: number): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: getVerifySpec(itemType: SignSpecItem): string | number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: DSA_P_BN = 101
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: DSA_Q_BN = 102
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: DSA_G_BN = 103
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: DSA_SK_BN = 104
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: DSA_PK_BN = 105
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_FP_P_BN = 201
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_A_BN = 202
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_B_BN = 203
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_G_X_BN = 204
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_G_Y_BN = 205
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_N_BN = 206
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_H_NUM = 207
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_SK_BN = 208
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_PK_X_BN = 209
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_PK_Y_BN = 210
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_FIELD_TYPE_STR = 211
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_FIELD_SIZE_NUM = 212
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: ECC_CURVE_NAME_STR = 213
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: RSA_N_BN = 301
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: RSA_SK_BN = 302
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecItem;
Method or attribute name: RSA_PK_BN = 303
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecType;
Method or attribute name: COMMON_PARAMS_SPEC = 0
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecType;
Method or attribute name: PRIVATE_KEY_SPEC = 1
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecType;
Method or attribute name: PUBLIC_KEY_SPEC = 2
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpecType;
Method or attribute name: KEY_PAIR_SPEC = 3
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpec;
Method or attribute name: algName: string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeySpec;
Method or attribute name: specType: AsyKeySpecType;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSACommonParamsSpec;
Method or attribute name: p: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECFieldFp;
Method or attribute name: p: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSACommonParamsSpec;
Method or attribute name: q: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSACommonParamsSpec;
Method or attribute name: g: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSAPubKeySpec;
Method or attribute name: params: DSACommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSAKeyPairSpec;
Method or attribute name: params: DSACommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSAPubKeySpec;
Method or attribute name: pk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSAKeyPairSpec;
Method or attribute name: pk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSAPubKeySpec;
Method or attribute name: pk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSAKeyPairSpec;
Method or attribute name: pk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DSAKeyPairSpec;
Method or attribute name: sk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCPriKeySpec;
Method or attribute name: sk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCKeyPairSpec;
Method or attribute name: sk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSAKeyPairSpec;
Method or attribute name: sk: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECField;
Method or attribute name: fieldType: string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Point;
Method or attribute name: x: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Point;
Method or attribute name: y: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: field: ECField;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: a: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: b: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: g: Point;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: n: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSACommonParamsSpec;
Method or attribute name: n: bigint;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCCommonParamsSpec;
Method or attribute name: h: number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCPriKeySpec;
Method or attribute name: params: ECCCommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCPubKeySpec;
Method or attribute name: params: ECCCommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCKeyPairSpec;
Method or attribute name: params: ECCCommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCPubKeySpec;
Method or attribute name: pk: Point;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ECCKeyPairSpec;
Method or attribute name: pk: Point;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSAPubKeySpec;
Method or attribute name: params: RSACommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: RSAKeyPairSpec;
Method or attribute name: params: RSACommonParamsSpec;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePriKey(callback: AsyncCallback<PriKey>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePriKey(): Promise<PriKey>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(callback: AsyncCallback<PubKey>): void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(): Promise<PubKey>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_ONLY_USED_IN_HUKS = 2
@ohos.security.huks.d.ts
Added NA Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_KEY_EXPORT_ALLOWED = 3
@ohos.security.huks.d.ts
Added NA Class name: HuksRsaPssSaltLenType;
Method or attribute name: HUKS_RSA_PSS_SALT_LEN_DIGEST = 0
@ohos.security.huks.d.ts
Added NA Class name: HuksRsaPssSaltLenType;
Method or attribute name: HUKS_RSA_PSS_SALT_LEN_MAX = 1
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVED_AGREED_KEY_STORAGE_FLAG = HuksTagType.HUKS_TAG_TYPE_UINT | 29
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_RSA_PSS_SALT_LEN_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT | 30
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_KEY_AUTH_PURPOSE = HuksTagType.HUKS_TAG_TYPE_UINT | 311
@ohos.security.huks.d.ts
Deprecated version changed Class name: X509Cert;
Method or attribute name: getSerialNumber(): number;
Old version information:
Class name: X509Cert;
Method or attribute name: getSerialNumber(): number;
New version information: 10
Substitute API: ohos.security.cert.X509Cert.getCertSerialNumber
@ohos.security.cert.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.generateKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function deleteKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function deleteKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.deleteKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function importKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function importKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.importKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function exportKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function exportKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.exportKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function getKeyProperties(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function getKeyProperties(keyAlias: string, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.getKeyItemProperties
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function isKeyExist(keyAlias: string, options: HuksOptions): Promise<boolean>;
Old version information:
Class name: huks;
Method or attribute name: function isKeyExist(keyAlias: string, options: HuksOptions): Promise<boolean>;
New version information: 9
Substitute API: ohos.security.huks.isKeyItemExist
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function init(keyAlias: string, options: HuksOptions): Promise<HuksHandle>;
Old version information:
Class name: huks;
Method or attribute name: function init(keyAlias: string, options: HuksOptions): Promise<HuksHandle>;
New version information: 9
Substitute API: ohos.security.huks.initSession
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.updateSession
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function finish(handle: number, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function finish(handle: number, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.finishSession
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function abort(handle: number, options: HuksOptions): Promise<HuksResult>;
Old version information:
Class name: huks;
Method or attribute name: function abort(handle: number, options: HuksOptions): Promise<HuksResult>;
New version information: 9
Substitute API: ohos.security.huks.abortSession
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_TEMP = 0
Old version information:
Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_TEMP = 0
New version information: 10
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_PERSISTENT = 1
Old version information:
Class name: HuksKeyStorageType;
Method or attribute name: HUKS_STORAGE_PERSISTENT = 1
New version information: 10
Substitute API:
@ohos.security.huks.d.ts
Error code added Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
Old version information:
Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
New version information: 401, 12100001
@ohos.abilityAccessCtrl.d.ts
Error code added Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code added Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code added Class name: AtManager;
Method or attribute name: getVersion(): Promise<number>;
Old version information:
Class name: AtManager;
Method or attribute name: getVersion(): Promise<number>;
New version information: 202
@ohos.abilityAccessCtrl.d.ts
Error code added Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100007, 12100008
@ohos.privacyManager.d.ts
Error code added Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100007, 12100008
@ohos.privacyManager.d.ts
Error code added Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code added Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code added Class name: Key;
Method or attribute name: getEncoded(): DataBlob;
Old version information:
Class name: Key;
Method or attribute name: getEncoded(): DataBlob;
New version information: 801, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Random;
Method or attribute name: generateRandom(len: number): Promise<DataBlob>;
Old version information:
Class name: Random;
Method or attribute name: generateRandom(len: number): Promise<DataBlob>;
New version information: 401, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Mac;
Method or attribute name: init(key: SymKey): Promise<void>;
Old version information:
Class name: Mac;
Method or attribute name: init(key: SymKey): Promise<void>;
New version information: 401, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Mac;
Method or attribute name: update(input: DataBlob): Promise<void>;
Old version information:
Class name: Mac;
Method or attribute name: update(input: DataBlob): Promise<void>;
New version information: 401, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Md;
Method or attribute name: update(input: DataBlob): Promise<void>;
Old version information:
Class name: Md;
Method or attribute name: update(input: DataBlob): Promise<void>;
New version information: 401, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Mac;
Method or attribute name: doFinal(): Promise<DataBlob>;
Old version information:
Class name: Mac;
Method or attribute name: doFinal(): Promise<DataBlob>;
New version information: 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: Md;
Method or attribute name: digest(): Promise<DataBlob>;
Old version information:
Class name: Md;
Method or attribute name: digest(): Promise<DataBlob>;
New version information: 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code added Class name: huks;
Method or attribute name: function generateKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
Old version information:
Class name: huks;
Method or attribute name: function generateKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000012, 12000013,12000014, 12000015
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function deleteKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
Old version information:
Class name: huks;
Method or attribute name: function deleteKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
New version information: 401,801, 12000004, 12000005, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function importKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
Old version information:
Class name: huks;
Method or attribute name: function importKeyItem(keyAlias: string, options: HuksOptions): Promise<void>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000011, 12000012, 12000013,12000014, 12000015
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions): Promise<void>;
Old version information:
Class name: huks;
Method or attribute name: function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions): Promise<void>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000011, 12000012, 12000013,12000014, 12000015
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function exportKeyItem(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
Old version information:
Class name: huks;
Method or attribute name: function exportKeyItem(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function getKeyItemProperties(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
Old version information:
Class name: huks;
Method or attribute name: function getKeyItemProperties(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function isKeyItemExist(keyAlias: string, options: HuksOptions): Promise<boolean>;
Old version information:
Class name: huks;
Method or attribute name: function isKeyItemExist(keyAlias: string, options: HuksOptions): Promise<boolean>;
New version information: 401,801, 12000002, 12000003,12000004, 12000005, 12000006, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function initSession(keyAlias: string, options: HuksOptions): Promise<HuksSessionHandle>;
Old version information:
Class name: huks;
Method or attribute name: function initSession(keyAlias: string, options: HuksOptions): Promise<HuksSessionHandle>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000010, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function updateSession(

handle: number,

options: HuksOptions,

token: Uint8Array,

callback: AsyncCallback<HuksReturnResult>

): void;
Old version information:
Class name: huks;
Method or attribute name: function updateSession(

handle: number,

options: HuksOptions,

token: Uint8Array,

callback: AsyncCallback<HuksReturnResult>

): void;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000007, 12000008, 12000009, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function updateSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise<HuksReturnResult>;
Old version information:
Class name: huks;
Method or attribute name: function updateSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise<HuksReturnResult>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000007, 12000008, 12000009, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function finishSession(

handle: number,

options: HuksOptions,

token: Uint8Array,

callback: AsyncCallback<HuksReturnResult>

): void;
Old version information:
Class name: huks;
Method or attribute name: function finishSession(

handle: number,

options: HuksOptions,

token: Uint8Array,

callback: AsyncCallback<HuksReturnResult>

): void;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000007, 12000008, 12000009, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function finishSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise<HuksReturnResult>;
Old version information:
Class name: huks;
Method or attribute name: function finishSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise<HuksReturnResult>;
New version information: 401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000007, 12000008, 12000009, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function abortSession(handle: number, options: HuksOptions): Promise<void>;
Old version information:
Class name: huks;
Method or attribute name: function abortSession(handle: number, options: HuksOptions): Promise<void>;
New version information: 401,801, 12000004, 12000005, 12000006, 12000012, 12000014
@ohos.security.huks.d.ts
Error code added Class name: huks;
Method or attribute name: function attestKeyItem(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
Old version information:
Class name: huks;
Method or attribute name: function attestKeyItem(keyAlias: string, options: HuksOptions): Promise<HuksReturnResult>;
New version information: 201,401,801, 12000001, 12000002, 12000003,12000004, 12000005, 12000006, 12000011, 12000012, 12000014
@ohos.security.huks.d.ts
Error code changed Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100006, 12100007
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code changed Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100006, 12100007
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code changed Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: Permissions): Promise<number>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100006, 12100007
Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: Permissions): Promise<number>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100006, 12100007
@ohos.abilityAccessCtrl.d.ts
Error code changed Class name: AtManager;
Method or attribute name: on(
type: 'permissionStateChange',
tokenIDList: Array<number>,
permissionList: Array<Permissions>,
callback: Callback<PermissionStateChangeInfo>
): void;
Old version information: 401,201, 12100001, 12100004, 12100005, 12100007, 12100008
Class name: AtManager;
Method or attribute name: on(
type: 'permissionStateChange',
tokenIDList: Array<number>,
permissionList: Array<Permissions>,
callback: Callback<PermissionStateChangeInfo>
): void;
New version information: 401,201,202, 12100001, 12100004, 12100005, 12100007, 12100008
@ohos.abilityAccessCtrl.d.ts
Error code changed Class name: AtManager;
Method or attribute name: off(
type: 'permissionStateChange',
tokenIDList: Array<number>,
permissionList: Array<Permissions>,
callback?: Callback<PermissionStateChangeInfo>
): void;
Old version information: 401,201, 12100001, 12100004, 12100007, 12100008
Class name: AtManager;
Method or attribute name: off(
type: 'permissionStateChange',
tokenIDList: Array<number>,
permissionList: Array<Permissions>,
callback?: Callback<PermissionStateChangeInfo>
): void;
New version information: 401,201,202, 12100001, 12100004, 12100007, 12100008
@ohos.abilityAccessCtrl.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number
): Promise<void>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100007, 12100008
Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number
): Promise<void>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100007, 12100008
Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
Old version information: 401,201, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
New version information: 401,201,202, 12100001, 12100002, 12100003,12100004, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function on(
type: 'activeStateChange',
permissionList: Array<Permissions>,
callback: Callback<ActiveChangeResponse>
): void;
Old version information: 401,201, 12100001, 12100004, 12100005, 12100007, 12100008
Class name: privacyManager;
Method or attribute name: function on(
type: 'activeStateChange',
permissionList: Array<Permissions>,
callback: Callback<ActiveChangeResponse>
): void;
New version information: 401,201,202, 12100001, 12100004, 12100005, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: privacyManager;
Method or attribute name: function off(
type: 'activeStateChange',
permissionList: Array<Permissions>,
callback?: Callback<ActiveChangeResponse>
): void;
Old version information: 401,201, 12100001, 12100004, 12100007, 12100008
Class name: privacyManager;
Method or attribute name: function off(
type: 'activeStateChange',
permissionList: Array<Permissions>,
callback?: Callback<ActiveChangeResponse>
): void;
New version information: 401,201,202, 12100001, 12100004, 12100007, 12100008
@ohos.privacyManager.d.ts
Error code changed Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
Old version information: 401
Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
New version information: 401,801, 17620001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: cryptoFramework;
Method or attribute name: function createCipher(transformation: string): Cipher;
Old version information: 401,801
Class name: cryptoFramework;
Method or attribute name: function createCipher(transformation: string): Cipher;
New version information: 401,801, 17620001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: cryptoFramework;
Method or attribute name: function createSign(algName: string): Sign;
Old version information: 401
Class name: cryptoFramework;
Method or attribute name: function createSign(algName: string): Sign;
New version information: 401,801, 17620001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: cryptoFramework;
Method or attribute name: function createVerify(algName: string): Verify;
Old version information: 401
Class name: cryptoFramework;
Method or attribute name: function createVerify(algName: string): Verify;
New version information: 401,801, 17620001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: cryptoFramework;
Method or attribute name: function createKeyAgreement(algName: string): KeyAgreement;
Old version information: 401
Class name: cryptoFramework;
Method or attribute name: function createKeyAgreement(algName: string): KeyAgreement;
New version information: 401,801, 17620001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback: AsyncCallback<KeyPair>): void;
Old version information: 401, 17620001
Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback: AsyncCallback<KeyPair>): void;
New version information: 401, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise<KeyPair>;
Old version information: 401, 17620001
Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise<KeyPair>;
New version information: 401, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void;
Old version information: 401, 17620001
Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void;
New version information: 401, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Error code changed Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>;
Old version information: 401, 17620001
Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>;
New version information: 401, 17620001, 17630001
@ohos.security.cryptoFramework.d.ts
Access level changed Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_REVOKED_OPER = 0
Old version information:
Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_REVOKED_OPER = 0
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_GRANTED_OPER = 1
Old version information:
Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_GRANTED_OPER = 1
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: PermissionStateChangeInfo;
Method or attribute name: change: PermissionStateChangeType;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: change: PermissionStateChangeType;
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: PermissionStateChangeInfo;
Method or attribute name: tokenID: number;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: tokenID: number;
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: PermissionStateChangeInfo;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: permissionName: Permissions;
New version information: systemapi
@ohos.abilityAccessCtrl.d.ts
Access level changed Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionActiveStatus;
Method or attribute name: PERM_INACTIVE = 0
Old version information:
Class name: PermissionActiveStatus;
Method or attribute name: PERM_INACTIVE = 0
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_FOREGROUND = 1
Old version information:
Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_FOREGROUND = 1
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_BACKGROUND = 2
Old version information:
Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_BACKGROUND = 2
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: ActiveChangeResponse;
Method or attribute name: tokenId: number;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: tokenId: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: BundleUsedRecord;
Method or attribute name: tokenId: number;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: tokenId: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: ActiveChangeResponse;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: permissionName: Permissions;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: permissionName: Permissions;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: ActiveChangeResponse;
Method or attribute name: deviceId: string;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: deviceId: string;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: BundleUsedRecord;
Method or attribute name: deviceId: string;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: deviceId: string;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: ActiveChangeResponse;
Method or attribute name: activeStatus: PermissionActiveStatus;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: activeStatus: PermissionActiveStatus;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_SUMMARY = 0
Old version information:
Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_SUMMARY = 0
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_DETAIL = 1
Old version information:
Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_DETAIL = 1
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: BundleUsedRecord;
Method or attribute name: isRemote: boolean;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: isRemote: boolean;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: BundleUsedRecord;
Method or attribute name: bundleName: string;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: bundleName: string;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array<Permissions>;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array<Permissions>;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedResponse;
Method or attribute name: beginTime: number;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: beginTime: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedResponse;
Method or attribute name: endTime: number;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: endTime: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRequest;
Method or attribute name: flag: PermissionUsageFlag;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: flag: PermissionUsageFlag;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedResponse;
Method or attribute name: bundleRecords: Array<BundleUsedRecord>;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: bundleRecords: Array<BundleUsedRecord>;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: BundleUsedRecord;
Method or attribute name: permissionRecords: Array<PermissionUsedRecord>;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: permissionRecords: Array<PermissionUsedRecord>;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: accessCount: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: accessCount: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: rejectCount: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: rejectCount: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: lastAccessTime: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastAccessTime: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: lastRejectTime: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastRejectTime: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: lastAccessDuration: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastAccessDuration: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: accessRecords: Array<UsedRecordDetail>;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: accessRecords: Array<UsedRecordDetail>;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: PermissionUsedRecord;
Method or attribute name: rejectRecords: Array<UsedRecordDetail>;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: rejectRecords: Array<UsedRecordDetail>;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: UsedRecordDetail;
Method or attribute name: status: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: status: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: UsedRecordDetail;
Method or attribute name: timestamp: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: timestamp: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Access level changed Class name: UsedRecordDetail;
Method or attribute name: accessDuration: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: accessDuration: number;
New version information: systemapi
@ohos.privacyManager.d.ts
Permission changed Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: ohos.permission.GRANT_SENSITIVE_PERMISSIONS
@ohos.abilityAccessCtrl.d.ts
Permission changed Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback<void>
): void;
New version information: ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
@ohos.abilityAccessCtrl.d.ts
Permission changed Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback<void>
): void;
New version information: ohos.permission.PERMISSION_USED_STATS
@ohos.privacyManager.d.ts
Permission changed Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback<PermissionUsedResponse>
): void;
New version information: ohos.permission.PERMISSION_USED_STATS
@ohos.privacyManager.d.ts
Permission changed Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: ohos.permission.PERMISSION_USED_STATS
@ohos.privacyManager.d.ts
Permission changed Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
Old version information:
Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
New version information: ohos.permission.PERMISSION_USED_STATS
@ohos.privacyManager.d.ts
Model changed Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
Old version information:
Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
New version information: StageModelOnly
@ohos.abilityAccessCtrl.d.ts
Type changed Class name: PermissionStateChangeInfo;
Method or attribute name: change: PermissionStateChangeType;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: change: PermissionStateChangeType;
New version information: PermissionStateChangeType
@ohos.abilityAccessCtrl.d.ts
Type changed Class name: PermissionStateChangeInfo;
Method or attribute name: tokenID: number;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: tokenID: number;
New version information: number
@ohos.abilityAccessCtrl.d.ts
Type changed Class name: PermissionStateChangeInfo;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: PermissionStateChangeInfo;
Method or attribute name: permissionName: Permissions;
New version information: Permissions
@ohos.abilityAccessCtrl.d.ts
Type changed Class name: ActiveChangeResponse;
Method or attribute name: tokenId: number;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: tokenId: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: BundleUsedRecord;
Method or attribute name: tokenId: number;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: tokenId: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: ActiveChangeResponse;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: permissionName: Permissions;
New version information: Permissions
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: permissionName: Permissions;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: permissionName: Permissions;
New version information: Permissions
@ohos.privacyManager.d.ts
Type changed Class name: ActiveChangeResponse;
Method or attribute name: deviceId: string;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: deviceId: string;
New version information: string
@ohos.privacyManager.d.ts
Type changed Class name: BundleUsedRecord;
Method or attribute name: deviceId: string;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: deviceId: string;
New version information: string
@ohos.privacyManager.d.ts
Type changed Class name: ActiveChangeResponse;
Method or attribute name: activeStatus: PermissionActiveStatus;
Old version information:
Class name: ActiveChangeResponse;
Method or attribute name: activeStatus: PermissionActiveStatus;
New version information: PermissionActiveStatus
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
New version information: ?number
@ohos.privacyManager.d.ts
Type changed Class name: BundleUsedRecord;
Method or attribute name: isRemote: boolean;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: isRemote: boolean;
New version information: boolean
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
New version information: ?boolean
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
New version information: ?string
@ohos.privacyManager.d.ts
Type changed Class name: BundleUsedRecord;
Method or attribute name: bundleName: string;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: bundleName: string;
New version information: string
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
New version information: ?string
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array<Permissions>;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array<Permissions>;
New version information: ?Array<Permissions>
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedResponse;
Method or attribute name: beginTime: number;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: beginTime: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
New version information: ?number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedResponse;
Method or attribute name: endTime: number;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: endTime: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
New version information: ?number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRequest;
Method or attribute name: flag: PermissionUsageFlag;
Old version information:
Class name: PermissionUsedRequest;
Method or attribute name: flag: PermissionUsageFlag;
New version information: PermissionUsageFlag
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedResponse;
Method or attribute name: bundleRecords: Array<BundleUsedRecord>;
Old version information:
Class name: PermissionUsedResponse;
Method or attribute name: bundleRecords: Array<BundleUsedRecord>;
New version information: Array<BundleUsedRecord>
@ohos.privacyManager.d.ts
Type changed Class name: BundleUsedRecord;
Method or attribute name: permissionRecords: Array<PermissionUsedRecord>;
Old version information:
Class name: BundleUsedRecord;
Method or attribute name: permissionRecords: Array<PermissionUsedRecord>;
New version information: Array<PermissionUsedRecord>
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: accessCount: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: accessCount: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: rejectCount: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: rejectCount: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: lastAccessTime: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastAccessTime: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: lastRejectTime: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastRejectTime: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: lastAccessDuration: number;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: lastAccessDuration: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: accessRecords: Array<UsedRecordDetail>;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: accessRecords: Array<UsedRecordDetail>;
New version information: Array<UsedRecordDetail>
@ohos.privacyManager.d.ts
Type changed Class name: PermissionUsedRecord;
Method or attribute name: rejectRecords: Array<UsedRecordDetail>;
Old version information:
Class name: PermissionUsedRecord;
Method or attribute name: rejectRecords: Array<UsedRecordDetail>;
New version information: Array<UsedRecordDetail>
@ohos.privacyManager.d.ts
Type changed Class name: UsedRecordDetail;
Method or attribute name: status: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: status: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: UsedRecordDetail;
Method or attribute name: timestamp: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: timestamp: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: UsedRecordDetail;
Method or attribute name: accessDuration: number;
Old version information:
Class name: UsedRecordDetail;
Method or attribute name: accessDuration: number;
New version information: number
@ohos.privacyManager.d.ts
Type changed Class name: DataBlob;
Method or attribute name: data: Uint8Array;
Old version information:
Class name: DataBlob;
Method or attribute name: data: Uint8Array;
New version information: Uint8Array
@ohos.security.cert.d.ts
Type changed Class name: DataArray;
Method or attribute name: data: Array<Uint8Array>;
Old version information:
Class name: DataArray;
Method or attribute name: data: Array<Uint8Array>;
New version information: Array<Uint8Array>
@ohos.security.cert.d.ts
Type changed Class name: DataBlob;
Method or attribute name: data: Uint8Array;
Old version information:
Class name: DataBlob;
Method or attribute name: data: Uint8Array;
New version information: Uint8Array
@ohos.security.cryptoFramework.d.ts
Type changed Class name: CipherResponse;
Method or attribute name: text: string;
Old version information:
Class name: CipherResponse;
Method or attribute name: text: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: text: string;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: text: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: text: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: text: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: action: string;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: action: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: action: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: action: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: key: string;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: key: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: key: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: key: string;
New version information: string
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: transformation?: string;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: transformation?: string;
New version information: ?string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: transformation?: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: transformation?: string;
New version information: ?string
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: success: (data: CipherResponse) => void;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: success: (data: CipherResponse) => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: success: (data: CipherResponse) => void;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: success: (data: CipherResponse) => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: fail: (data: string, code: number) => void;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: fail: (data: string, code: number) => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: fail: (data: string, code: number) => void;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: fail: (data: string, code: number) => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherRsaOptions;
Method or attribute name: complete: () => void;
Old version information:
Class name: CipherRsaOptions;
Method or attribute name: complete: () => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: complete: () => void;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: complete: () => void;
New version information: function
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: iv?: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: iv?: string;
New version information: ?string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: ivOffset?: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: ivOffset?: string;
New version information: ?string
@system.cipher.d.ts
Type changed Class name: CipherAesOptions;
Method or attribute name: ivLen?: string;
Old version information:
Class name: CipherAesOptions;
Method or attribute name: ivLen?: string;
New version information: ?string
@system.cipher.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: tokenId: number;
Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: deviceId: string;
Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: isRemote: boolean;
Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: bundleName: string;
Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: permissionNames: Array<Permissions>;
Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array<Permissions>;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: beginTime: number;
Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
@ohos.privacyManager.d.ts
Function changed Class name: PermissionUsedRequest;
Method or attribute name: endTime: number;
Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
@ohos.privacyManager.d.ts
Cross-platform capability changed Class name: abilityAccessCtrl;
Method or attribute name: function createAtManager(): AtManager;
Old version information:
Class name: abilityAccessCtrl;
Method or attribute name: function createAtManager(): AtManager;
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: AtManager;
Method or attribute name: checkAccessToken(tokenID: number, permissionName: Permissions): Promise<GrantStatus>;
Old version information:
Class name: AtManager;
Method or attribute name: checkAccessToken(tokenID: number, permissionName: Permissions): Promise<GrantStatus>;
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(
context: Context,
permissionList: Array<Permissions>,
requestCallback: AsyncCallback<PermissionRequestResult>
): void;
Old version information:
Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(
context: Context,
permissionList: Array<Permissions>,
requestCallback: AsyncCallback<PermissionRequestResult>
): void;
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
Old version information:
Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<PermissionRequestResult>;
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: GrantStatus;
Method or attribute name: export enum GrantStatus
Old version information:
Class name: GrantStatus;
Method or attribute name: export enum GrantStatus
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: GrantStatus;
Method or attribute name: PERMISSION_DENIED = -1
Old version information:
Class name: GrantStatus;
Method or attribute name: PERMISSION_DENIED = -1
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: GrantStatus;
Method or attribute name: PERMISSION_GRANTED = 0
Old version information:
Class name: GrantStatus;
Method or attribute name: PERMISSION_GRANTED = 0
New version information: crossplatform
@ohos.abilityAccessCtrl.d.ts
Cross-platform capability changed Class name: PermissionRequestResult;
Method or attribute name: export default class PermissionRequestResult
Old version information:
Class name: PermissionRequestResult;
Method or attribute name: export default class PermissionRequestResult
New version information: crossplatform
PermissionRequestResult.d.ts
Cross-platform capability changed Class name: PermissionRequestResult;
Method or attribute name: permissions: Array<string>;
Old version information:
Class name: PermissionRequestResult;
Method or attribute name: permissions: Array<string>;
New version information: crossplatform
PermissionRequestResult.d.ts
Cross-platform capability changed Class name: PermissionRequestResult;
Method or attribute name: authResults: Array<number>;
Old version information:
Class name: PermissionRequestResult;
Method or attribute name: authResults: Array<number>;
New version information: crossplatform
PermissionRequestResult.d.ts