| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generateKeyPair(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generateKeyPair(): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AtManager;
方法or属性:checkAccessTokenSync(tokenID: number, permissionName: Permissions): GrantStatus;|@ohos.abilityAccessCtrl.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function isDLPFile(fd: number): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function isDLPFile(fd: number, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPPermissionInfo(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPPermissionInfo(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getOriginalFileName(fileName: string): string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPSuffix(): string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function on(type: 'openDLPFile', listener: Callback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function on(type: 'uninstallDLPSandbox', listener: Callback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function off(type: 'openDLPFile', listener?: Callback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function off(type: 'uninstallDLPSandbox', listener?: Callback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function isInSandbox(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function isInSandbox(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPSupportedFileTypes(): Promise\>;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPSupportedFileTypes(callback: AsyncCallback\>): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function setRetentionState(docUris: Array\): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function setRetentionState(docUris: Array\, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function cancelRetentionState(docUris: Array\): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function cancelRetentionState(docUris: Array\, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getRetentionSandboxList(bundleName?: string): Promise\>;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getRetentionSandboxList(bundleName: string, callback: AsyncCallback\>): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getRetentionSandboxList(callback: AsyncCallback\>): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPFileAccessRecords(): Promise\>;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPFileAccessRecords(callback: AsyncCallback\>): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPGatheringPolicy(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function getDLPGatheringPolicy(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function installDLPSandbox(
bundleName: string,
access: DLPFileAccess,
userId: number,
uri: string
): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function installDLPSandbox(
bundleName: string,
access: DLPFileAccess,
userId: number,
uri: string,
callback: AsyncCallback\
): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function uninstallDLPSandbox(bundleName: string, userId: number, appIndex: number): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function uninstallDLPSandbox(
bundleName: string,
userId: number,
appIndex: number,
callback: AsyncCallback\
): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function generateDLPFile(plaintextFd: number, ciphertextFd: number, property: DLPProperty): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function generateDLPFile(
plaintextFd: number,
ciphertextFd: number,
property: DLPProperty,
callback: AsyncCallback\
): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function openDLPFile(ciphertextFd: number): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:dlpPermission;
方法or属性:function openDLPFile(ciphertextFd: number, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_VIEW = 0x00000001|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_SAVE = 0x00000002|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_SAVE_AS = 0x00000004|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_EDIT = 0x00000008|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_SCREEN_CAPTURE = 0x00000010|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_SCREEN_SHARE = 0x00000020|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_SCREEN_RECORD = 0x00000040|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_COPY = 0x00000080|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_PRINT = 0x00000100|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_EXPORT = 0x00000200|@ohos.dlpPermission.d.ts|
|新增|NA|类名:ActionFlagType;
方法or属性:ACTION_PERMISSION_CHANGE = 0x00000400|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFileAccess;
方法or属性:NO_PERMISSION = 0|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFileAccess;
方法or属性:READ_ONLY = 1|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFileAccess;
方法or属性:CONTENT_EDIT = 2|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFileAccess;
方法or属性:FULL_CONTROL = 3|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPPermissionInfo;
方法or属性:dlpFileAccess: DLPFileAccess;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AuthUser;
方法or属性:dlpFileAccess: DLPFileAccess;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPPermissionInfo;
方法or属性:flags: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AccessedDLPFileInfo;
方法or属性:uri: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AccessedDLPFileInfo;
方法or属性:lastOpenTime: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:RetentionSandboxInfo;
方法or属性:appIndex: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPSandboxInfo;
方法or属性:appIndex: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPSandboxState;
方法or属性:appIndex: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:RetentionSandboxInfo;
方法or属性:bundleName: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPSandboxState;
方法or属性:bundleName: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:RetentionSandboxInfo;
方法or属性:docUris: Array\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:GatheringPolicyType;
方法or属性:GATHERING = 1|@ohos.dlpPermission.d.ts|
|新增|NA|类名:GatheringPolicyType;
方法or属性:NON_GATHERING = 2|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPSandboxInfo;
方法or属性:tokenID: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AccountType;
方法or属性:CLOUD_ACCOUNT = 1|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AccountType;
方法or属性:DOMAIN_ACCOUNT = 2|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AuthUser;
方法or属性:authAccount: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AuthUser;
方法or属性:authAccountType: AccountType;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:AuthUser;
方法or属性:permExpiryTime: number;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:ownerAccount: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:ownerAccountID: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:ownerAccountType: AccountType;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:authUserList?: Array\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:contactAccount: string;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:offlineAccess: boolean;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPProperty;
方法or属性:everyoneAccessList?: Array\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:dlpProperty: DLPProperty;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:addDLPLinkFile(linkFileName: string): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:addDLPLinkFile(linkFileName: string, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:stopFuseLink(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:stopFuseLink(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:resumeFuseLink(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:resumeFuseLink(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:replaceDLPLinkFile(linkFileName: string): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:replaceDLPLinkFile(linkFileName: string, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:deleteDLPLinkFile(linkFileName: string): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:deleteDLPLinkFile(linkFileName: string, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:recoverDLPFile(plaintextFd: number): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:recoverDLPFile(plaintextFd: number, callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:closeDLPFile(): Promise\;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:DLPFile;
方法or属性:closeDLPFile(callback: AsyncCallback\): void;|@ohos.dlpPermission.d.ts|
|新增|NA|类名:cert;
方法or属性:function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback\): void;|@ohos.security.cert.d.ts|
|新增|NA|类名:cert;
方法or属性:function createCertExtension(inStream: EncodingBlob): Promise\;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;
方法or属性:CERT_ITEM_TYPE_TBS = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;
方法or属性:CERT_ITEM_TYPE_PUBLIC_KEY = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;
方法or属性:CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;
方法or属性:CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3|@ohos.security.cert.d.ts|
|新增|NA|类名:CertItemType;
方法or属性:CERT_ITEM_TYPE_EXTENSIONS = 4|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;
方法or属性:EXTENSION_OID_TYPE_ALL = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;
方法or属性:EXTENSION_OID_TYPE_CRITICAL = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionOidType;
方法or属性:EXTENSION_OID_TYPE_UNCRITICAL = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;
方法or属性:EXTENSION_ENTRY_TYPE_ENTRY = 0|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;
方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1|@ohos.security.cert.d.ts|
|新增|NA|类名:ExtensionEntryType;
方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2|@ohos.security.cert.d.ts|
|新增|NA|类名:X509Cert;
方法or属性:getCertSerialNumber(): bigint;|@ohos.security.cert.d.ts|
|新增|NA|类名:X509Cert;
方法or属性:getItem(itemType: CertItemType): DataBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;
方法or属性:getEncoded(): EncodingBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;
方法or属性:getOidList(valueType: ExtensionOidType): DataArray;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;
方法or属性:getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob;|@ohos.security.cert.d.ts|
|新增|NA|类名:CertExtension;
方法or属性:checkCA(): number;|@ohos.security.cert.d.ts|
|新增|NA|类名:cryptoFramework;
方法or属性:function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:PriKey;
方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:PubKey;
方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint \| string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Random;
方法or属性:generateRandomSync(len: number): DataBlob;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Random;
方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:readonly algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob \| null, priKey: DataBlob \| null, callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob \| null, priKey: DataBlob \| null): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;
方法or属性:OAEP_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;
方法or属性:OAEP_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;
方法or属性:OAEP_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:CipherSpecItem;
方法or属性:OAEP_MGF1_PSRC_UINT8ARR = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;
方法or属性:PSS_MD_NAME_STR = 100|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;
方法or属性:PSS_MGF_NAME_STR = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;
方法or属性:PSS_MGF1_MD_STR = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;
方法or属性:PSS_SALT_LEN_NUM = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:SignSpecItem;
方法or属性:PSS_TRAILER_FIELD_NUM = 104|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:init(opMode: CryptoMode, key: Key, params: ParamsSpec \| null, callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:init(opMode: CryptoMode, key: Key, params: ParamsSpec \| null): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:doFinal(data: DataBlob \| null, callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:doFinal(data: DataBlob \| null): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Cipher;
方法or属性:getCipherSpec(itemType: CipherSpecItem): string \| Uint8Array;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;
方法or属性:sign(data: DataBlob \| null, callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;
方法or属性:sign(data: DataBlob \| null): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;
方法or属性:setSignSpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Sign;
方法or属性:getSignSpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;
方法or属性:verify(data: DataBlob \| null, signatureData: DataBlob, callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;
方法or属性:verify(data: DataBlob \| null, signatureData: DataBlob): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;
方法or属性:setVerifySpec(itemType: SignSpecItem, itemValue: number): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Verify;
方法or属性:getVerifySpec(itemType: SignSpecItem): string \| number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:DSA_P_BN = 101|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:DSA_Q_BN = 102|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:DSA_G_BN = 103|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:DSA_SK_BN = 104|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:DSA_PK_BN = 105|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_FP_P_BN = 201|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_A_BN = 202|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_B_BN = 203|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_G_X_BN = 204|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_G_Y_BN = 205|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_N_BN = 206|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_H_NUM = 207|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_SK_BN = 208|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_PK_X_BN = 209|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_PK_Y_BN = 210|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_FIELD_TYPE_STR = 211|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_FIELD_SIZE_NUM = 212|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:ECC_CURVE_NAME_STR = 213|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:RSA_N_BN = 301|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:RSA_SK_BN = 302|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecItem;
方法or属性:RSA_PK_BN = 303|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;
方法or属性:COMMON_PARAMS_SPEC = 0|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;
方法or属性:PRIVATE_KEY_SPEC = 1|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;
方法or属性:PUBLIC_KEY_SPEC = 2|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpecType;
方法or属性:KEY_PAIR_SPEC = 3|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpec;
方法or属性:algName: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeySpec;
方法or属性:specType: AsyKeySpecType;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;
方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECFieldFp;
方法or属性:p: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;
方法or属性:q: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSACommonParamsSpec;
方法or属性:g: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAPubKeySpec;
方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;
方法or属性:params: DSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAPubKeySpec;
方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;
方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAPubKeySpec;
方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;
方法or属性:pk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:DSAKeyPairSpec;
方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPriKeySpec;
方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;
方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;
方法or属性:sk: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECField;
方法or属性:fieldType: string;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Point;
方法or属性:x: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:Point;
方法or属性:y: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:field: ECField;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:a: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:b: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:g: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSACommonParamsSpec;
方法or属性:n: bigint;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCCommonParamsSpec;
方法or属性:h: number;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPriKeySpec;
方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPubKeySpec;
方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;
方法or属性:params: ECCCommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCPubKeySpec;
方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:ECCKeyPairSpec;
方法or属性:pk: Point;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAPubKeySpec;
方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:RSAKeyPairSpec;
方法or属性:params: RSACommonParamsSpec;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generatePriKey(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generatePriKey(): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generatePubKey(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:AsyKeyGeneratorBySpec;
方法or属性:generatePubKey(): Promise\;|@ohos.security.cryptoFramework.d.ts|
|新增|NA|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_ONLY_USED_IN_HUKS = 2|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_KEY_EXPORT_ALLOWED = 3|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksRsaPssSaltLenType;
方法or属性:HUKS_RSA_PSS_SALT_LEN_DIGEST = 0|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksRsaPssSaltLenType;
方法or属性:HUKS_RSA_PSS_SALT_LEN_MAX = 1|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksTag;
方法or属性:HUKS_TAG_DERIVED_AGREED_KEY_STORAGE_FLAG = HuksTagType.HUKS_TAG_TYPE_UINT \| 29|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksTag;
方法or属性:HUKS_TAG_RSA_PSS_SALT_LEN_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT \| 30|@ohos.security.huks.d.ts|
|新增|NA|类名:HuksTag;
方法or属性:HUKS_TAG_KEY_AUTH_PURPOSE = HuksTagType.HUKS_TAG_TYPE_UINT \| 311|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:X509Cert;
方法or属性:getSerialNumber(): number;
旧版本信息:|类名:X509Cert;
方法or属性:getSerialNumber(): number;
新版本信息:10
代替接口: ohos.security.cert.X509Cert.getCertSerialNumber|@ohos.security.cert.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function generateKey(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function generateKey(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.generateKeyItem|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function deleteKey(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function deleteKey(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.deleteKeyItem|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function importKey(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function importKey(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.importKeyItem|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function exportKey(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function exportKey(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.exportKeyItem|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function getKeyProperties(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function getKeyProperties(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.getKeyItemProperties|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function isKeyExist(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function isKeyExist(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.isKeyItemExist|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function init(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function init(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.initSession|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function update(handle: number, token?: Uint8Array, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function update(handle: number, token?: Uint8Array, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.updateSession|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function finish(handle: number, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function finish(handle: number, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.finishSession|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:huks;
方法or属性:function abort(handle: number, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function abort(handle: number, options: HuksOptions): Promise\;
新版本信息:9
代替接口: ohos.security.huks.abortSession|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_TEMP = 0
旧版本信息:|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_TEMP = 0
新版本信息:10
代替接口:|@ohos.security.huks.d.ts|
|废弃版本有变化|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_PERSISTENT = 1
旧版本信息:|类名:HuksKeyStorageType;
方法or属性:HUKS_STORAGE_PERSISTENT = 1
新版本信息:10
代替接口:|@ohos.security.huks.d.ts|
|新增(错误码)|类名:AtManager;
方法or属性:requestPermissionsFromUser(context: Context, permissionList: Array\): Promise\;
旧版本信息:|类名:AtManager;
方法or属性:requestPermissionsFromUser(context: Context, permissionList: Array\): Promise\;
新版本信息:401,12100001|@ohos.abilityAccessCtrl.d.ts|
|新增(错误码)|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100006,12100007|@ohos.abilityAccessCtrl.d.ts|
|新增(错误码)|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100006,12100007|@ohos.abilityAccessCtrl.d.ts|
|新增(错误码)|类名:AtManager;
方法or属性:getVersion(): Promise\;
旧版本信息:|类名:AtManager;
方法or属性:getVersion(): Promise\;
新版本信息:202|@ohos.abilityAccessCtrl.d.ts|
|新增(错误码)|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100007,12100008|@ohos.privacyManager.d.ts|
|新增(错误码)|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100007,12100008|@ohos.privacyManager.d.ts|
|新增(错误码)|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100004,12100007,12100008|@ohos.privacyManager.d.ts|
|新增(错误码)|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:401,201,202,12100001,12100002,12100003,12100004,12100007,12100008|@ohos.privacyManager.d.ts|
|新增(错误码)|类名:Key;
方法or属性:getEncoded(): DataBlob;
旧版本信息:|类名:Key;
方法or属性:getEncoded(): DataBlob;
新版本信息:801,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Random;
方法or属性:generateRandom(len: number): Promise\;
旧版本信息:|类名:Random;
方法or属性:generateRandom(len: number): Promise\;
新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Mac;
方法or属性:init(key: SymKey): Promise\;
旧版本信息:|类名:Mac;
方法or属性:init(key: SymKey): Promise\;
新版本信息:401,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Mac;
方法or属性:update(input: DataBlob): Promise\;
旧版本信息:|类名:Mac;
方法or属性:update(input: DataBlob): Promise\;
新版本信息:401,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Md;
方法or属性:update(input: DataBlob): Promise\;
旧版本信息:|类名:Md;
方法or属性:update(input: DataBlob): Promise\;
新版本信息:401,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Mac;
方法or属性:doFinal(): Promise\;
旧版本信息:|类名:Mac;
方法or属性:doFinal(): Promise\;
新版本信息:17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:Md;
方法or属性:digest(): Promise\;
旧版本信息:|类名:Md;
方法or属性:digest(): Promise\;
新版本信息:17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function generateKeyItem(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function generateKeyItem(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000012,12000013,12000014,12000015|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function deleteKeyItem(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function deleteKeyItem(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000004,12000005,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function importKeyItem(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function importKeyItem(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000011,12000012,12000013,12000014,12000015|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000011,12000012,12000013,12000014,12000015|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function exportKeyItem(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function exportKeyItem(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function getKeyItemProperties(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function getKeyItemProperties(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function isKeyItemExist(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function isKeyItemExist(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000002,12000003,12000004,12000005,12000006,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function initSession(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function initSession(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000010,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function updateSession(
handle: number,
options: HuksOptions,
token: Uint8Array,
callback: AsyncCallback\
): void;
旧版本信息:|类名:huks;
方法or属性:function updateSession(
handle: number,
options: HuksOptions,
token: Uint8Array,
callback: AsyncCallback\
): void;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000007,12000008,12000009,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function updateSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise\;
旧版本信息:|类名:huks;
方法or属性:function updateSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000007,12000008,12000009,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function finishSession(
handle: number,
options: HuksOptions,
token: Uint8Array,
callback: AsyncCallback\
): void;
旧版本信息:|类名:huks;
方法or属性:function finishSession(
handle: number,
options: HuksOptions,
token: Uint8Array,
callback: AsyncCallback\
): void;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000007,12000008,12000009,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function finishSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise\;
旧版本信息:|类名:huks;
方法or属性:function finishSession(handle: number, options: HuksOptions, token?: Uint8Array): Promise\;
新版本信息:401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000007,12000008,12000009,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function abortSession(handle: number, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function abortSession(handle: number, options: HuksOptions): Promise\;
新版本信息:401,801,12000004,12000005,12000006,12000012,12000014|@ohos.security.huks.d.ts|
|新增(错误码)|类名:huks;
方法or属性:function attestKeyItem(keyAlias: string, options: HuksOptions): Promise\;
旧版本信息:|类名:huks;
方法or属性:function attestKeyItem(keyAlias: string, options: HuksOptions): Promise\;
新版本信息:201,401,801,12000001,12000002,12000003,12000004,12000005,12000006,12000011,12000012,12000014|@ohos.security.huks.d.ts|
|错误码有变化|类名:AtManager;
方法or属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100006,12100007|类名:AtManager;
方法or属性:grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100006,12100007|@ohos.abilityAccessCtrl.d.ts|
|错误码有变化|类名:AtManager;
方法or属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100006,12100007|类名:AtManager;
方法or属性:revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100006,12100007|@ohos.abilityAccessCtrl.d.ts|
|错误码有变化|类名:AtManager;
方法or属性:getPermissionFlags(tokenID: number, permissionName: Permissions): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100006,12100007|类名:AtManager;
方法or属性:getPermissionFlags(tokenID: number, permissionName: Permissions): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100006,12100007|@ohos.abilityAccessCtrl.d.ts|
|错误码有变化|类名:AtManager;
方法or属性:on(
type: 'permissionStateChange',
tokenIDList: Array\,
permissionList: Array\,
callback: Callback\
): void;
旧版本信息:401,201,12100001,12100004,12100005,12100007,12100008|类名:AtManager;
方法or属性:on(
type: 'permissionStateChange',
tokenIDList: Array\,
permissionList: Array\,
callback: Callback\
): void;
新版本信息:401,201,202,12100001,12100004,12100005,12100007,12100008|@ohos.abilityAccessCtrl.d.ts|
|错误码有变化|类名:AtManager;
方法or属性:off(
type: 'permissionStateChange',
tokenIDList: Array\,
permissionList: Array\,
callback?: Callback\
): void;
旧版本信息:401,201,12100001,12100004,12100007,12100008|类名:AtManager;
方法or属性:off(
type: 'permissionStateChange',
tokenIDList: Array\,
permissionList: Array\,
callback?: Callback\
): void;
新版本信息:401,201,202,12100001,12100004,12100007,12100008|@ohos.abilityAccessCtrl.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number
): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100007,12100008|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number
): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100007,12100008|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(request: PermissionUsedRequest): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100004,12100007,12100008|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100004,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise\;
旧版本信息:401,201,12100001,12100002,12100003,12100004,12100007,12100008|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise\;
新版本信息:401,201,202,12100001,12100002,12100003,12100004,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function on(
type: 'activeStateChange',
permissionList: Array\,
callback: Callback\
): void;
旧版本信息:401,201,12100001,12100004,12100005,12100007,12100008|类名:privacyManager;
方法or属性:function on(
type: 'activeStateChange',
permissionList: Array\,
callback: Callback\
): void;
新版本信息:401,201,202,12100001,12100004,12100005,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:privacyManager;
方法or属性:function off(
type: 'activeStateChange',
permissionList: Array\,
callback?: Callback\
): void;
旧版本信息:401,201,12100001,12100004,12100007,12100008|类名:privacyManager;
方法or属性:function off(
type: 'activeStateChange',
permissionList: Array\,
callback?: Callback\
): void;
新版本信息:401,201,202,12100001,12100004,12100007,12100008|@ohos.privacyManager.d.ts|
|错误码有变化|类名:cryptoFramework;
方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
旧版本信息:401|类名:cryptoFramework;
方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator;
新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;
方法or属性:function createCipher(transformation: string): Cipher;
旧版本信息:401,801|类名:cryptoFramework;
方法or属性:function createCipher(transformation: string): Cipher;
新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;
方法or属性:function createSign(algName: string): Sign;
旧版本信息:401|类名:cryptoFramework;
方法or属性:function createSign(algName: string): Sign;
新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;
方法or属性:function createVerify(algName: string): Verify;
旧版本信息:401|类名:cryptoFramework;
方法or属性:function createVerify(algName: string): Verify;
新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:cryptoFramework;
方法or属性:function createKeyAgreement(algName: string): KeyAgreement;
旧版本信息:401|类名:cryptoFramework;
方法or属性:function createKeyAgreement(algName: string): KeyAgreement;
新版本信息:401,801,17620001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;
方法or属性:generateKeyPair(callback: AsyncCallback\): void;
旧版本信息:401,17620001|类名:AsyKeyGenerator;
方法or属性:generateKeyPair(callback: AsyncCallback\): void;
新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;
方法or属性:generateKeyPair(): Promise\;
旧版本信息:401,17620001|类名:AsyKeyGenerator;
方法or属性:generateKeyPair(): Promise\;
新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\): void;
旧版本信息:401,17620001|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\): void;
新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|错误码有变化|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\;
旧版本信息:401,17620001|类名:AsyKeyGenerator;
方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\;
新版本信息:401,17620001,17630001|@ohos.security.cryptoFramework.d.ts|
|访问级别有变化|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:PermissionStateChangeType;
方法or属性:PERMISSION_REVOKED_OPER = 0
旧版本信息:|类名:PermissionStateChangeType;
方法or属性:PERMISSION_REVOKED_OPER = 0
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:PermissionStateChangeType;
方法or属性:PERMISSION_GRANTED_OPER = 1
旧版本信息:|类名:PermissionStateChangeType;
方法or属性:PERMISSION_GRANTED_OPER = 1
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:PermissionStateChangeInfo;
方法or属性:change: PermissionStateChangeType;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:change: PermissionStateChangeType;
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:PermissionStateChangeInfo;
方法or属性:tokenID: number;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:tokenID: number;
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:PermissionStateChangeInfo;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:permissionName: Permissions;
新版本信息:systemapi|@ohos.abilityAccessCtrl.d.ts|
|访问级别有变化|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionActiveStatus;
方法or属性:PERM_INACTIVE = 0
旧版本信息:|类名:PermissionActiveStatus;
方法or属性:PERM_INACTIVE = 0
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionActiveStatus;
方法or属性:PERM_ACTIVE_IN_FOREGROUND = 1
旧版本信息:|类名:PermissionActiveStatus;
方法or属性:PERM_ACTIVE_IN_FOREGROUND = 1
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionActiveStatus;
方法or属性:PERM_ACTIVE_IN_BACKGROUND = 2
旧版本信息:|类名:PermissionActiveStatus;
方法or属性:PERM_ACTIVE_IN_BACKGROUND = 2
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:ActiveChangeResponse;
方法or属性:tokenId: number;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:tokenId: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:BundleUsedRecord;
方法or属性:tokenId: number;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:tokenId: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:ActiveChangeResponse;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:permissionName: Permissions;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:permissionName: Permissions;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:ActiveChangeResponse;
方法or属性:deviceId: string;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:deviceId: string;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:BundleUsedRecord;
方法or属性:deviceId: string;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:deviceId: string;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:ActiveChangeResponse;
方法or属性:activeStatus: PermissionActiveStatus;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:activeStatus: PermissionActiveStatus;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsageFlag;
方法or属性:FLAG_PERMISSION_USAGE_SUMMARY = 0
旧版本信息:|类名:PermissionUsageFlag;
方法or属性:FLAG_PERMISSION_USAGE_SUMMARY = 0
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsageFlag;
方法or属性:FLAG_PERMISSION_USAGE_DETAIL = 1
旧版本信息:|类名:PermissionUsageFlag;
方法or属性:FLAG_PERMISSION_USAGE_DETAIL = 1
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:tokenId?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:tokenId?: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:BundleUsedRecord;
方法or属性:isRemote: boolean;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:isRemote: boolean;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:isRemote?: boolean;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:isRemote?: boolean;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:deviceId?: string;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:deviceId?: string;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:BundleUsedRecord;
方法or属性:bundleName: string;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:bundleName: string;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:bundleName?: string;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:bundleName?: string;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:permissionNames?: Array\;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:permissionNames?: Array\;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedResponse;
方法or属性:beginTime: number;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:beginTime: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:beginTime?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:beginTime?: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedResponse;
方法or属性:endTime: number;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:endTime: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:endTime?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:endTime?: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRequest;
方法or属性:flag: PermissionUsageFlag;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:flag: PermissionUsageFlag;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedResponse;
方法or属性:bundleRecords: Array\;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:bundleRecords: Array\;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:BundleUsedRecord;
方法or属性:permissionRecords: Array\;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:permissionRecords: Array\;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:accessCount: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:accessCount: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:rejectCount: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:rejectCount: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:lastAccessTime: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastAccessTime: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:lastRejectTime: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastRejectTime: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:lastAccessDuration: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastAccessDuration: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:accessRecords: Array\;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:accessRecords: Array\;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:PermissionUsedRecord;
方法or属性:rejectRecords: Array\;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:rejectRecords: Array\;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:UsedRecordDetail;
方法or属性:status: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:status: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:UsedRecordDetail;
方法or属性:timestamp: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:timestamp: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|访问级别有变化|类名:UsedRecordDetail;
方法or属性:accessDuration: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:accessDuration: number;
新版本信息:systemapi|@ohos.privacyManager.d.ts|
|权限有变化|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:grantUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:ohos.permission.GRANT_SENSITIVE_PERMISSIONS|@ohos.abilityAccessCtrl.d.ts|
|权限有变化|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:revokeUserGrantedPermission(
tokenID: number,
permissionName: Permissions,
permissionFlags: number,
callback: AsyncCallback\
): void;
新版本信息:ohos.permission.REVOKE_SENSITIVE_PERMISSIONS|@ohos.abilityAccessCtrl.d.ts|
|权限有变化|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function addPermissionUsedRecord(
tokenID: number,
permissionName: Permissions,
successCount: number,
failCount: number,
callback: AsyncCallback\
): void;
新版本信息:ohos.permission.PERMISSION_USED_STATS|@ohos.privacyManager.d.ts|
|权限有变化|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
旧版本信息:|类名:privacyManager;
方法or属性:function getPermissionUsedRecord(
request: PermissionUsedRequest,
callback: AsyncCallback\
): void;
新版本信息:ohos.permission.PERMISSION_USED_STATS|@ohos.privacyManager.d.ts|
|权限有变化|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:ohos.permission.PERMISSION_USED_STATS|@ohos.privacyManager.d.ts|
|权限有变化|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
旧版本信息:|类名:privacyManager;
方法or属性:function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback\): void;
新版本信息:ohos.permission.PERMISSION_USED_STATS|@ohos.privacyManager.d.ts|
|model有变化|类名:AtManager;
方法or属性:requestPermissionsFromUser(context: Context, permissionList: Array\): Promise\;
旧版本信息:|类名:AtManager;
方法or属性:requestPermissionsFromUser(context: Context, permissionList: Array\): Promise\;
新版本信息:StageModelOnly|@ohos.abilityAccessCtrl.d.ts|
|type有变化|类名:PermissionStateChangeInfo;
方法or属性:change: PermissionStateChangeType;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:change: PermissionStateChangeType;
新版本信息:PermissionStateChangeType|@ohos.abilityAccessCtrl.d.ts|
|type有变化|类名:PermissionStateChangeInfo;
方法or属性:tokenID: number;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:tokenID: number;
新版本信息:number|@ohos.abilityAccessCtrl.d.ts|
|type有变化|类名:PermissionStateChangeInfo;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:PermissionStateChangeInfo;
方法or属性:permissionName: Permissions;
新版本信息:Permissions|@ohos.abilityAccessCtrl.d.ts|
|type有变化|类名:ActiveChangeResponse;
方法or属性:tokenId: number;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:tokenId: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:BundleUsedRecord;
方法or属性:tokenId: number;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:tokenId: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:ActiveChangeResponse;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:permissionName: Permissions;
新版本信息:Permissions|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:permissionName: Permissions;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:permissionName: Permissions;
新版本信息:Permissions|@ohos.privacyManager.d.ts|
|type有变化|类名:ActiveChangeResponse;
方法or属性:deviceId: string;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:deviceId: string;
新版本信息:string|@ohos.privacyManager.d.ts|
|type有变化|类名:BundleUsedRecord;
方法or属性:deviceId: string;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:deviceId: string;
新版本信息:string|@ohos.privacyManager.d.ts|
|type有变化|类名:ActiveChangeResponse;
方法or属性:activeStatus: PermissionActiveStatus;
旧版本信息:|类名:ActiveChangeResponse;
方法or属性:activeStatus: PermissionActiveStatus;
新版本信息:PermissionActiveStatus|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:tokenId?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:tokenId?: number;
新版本信息:?number|@ohos.privacyManager.d.ts|
|type有变化|类名:BundleUsedRecord;
方法or属性:isRemote: boolean;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:isRemote: boolean;
新版本信息:boolean|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:isRemote?: boolean;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:isRemote?: boolean;
新版本信息:?boolean|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:deviceId?: string;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:deviceId?: string;
新版本信息:?string|@ohos.privacyManager.d.ts|
|type有变化|类名:BundleUsedRecord;
方法or属性:bundleName: string;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:bundleName: string;
新版本信息:string|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:bundleName?: string;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:bundleName?: string;
新版本信息:?string|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:permissionNames?: Array\;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:permissionNames?: Array\;
新版本信息:?Array\|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedResponse;
方法or属性:beginTime: number;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:beginTime: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:beginTime?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:beginTime?: number;
新版本信息:?number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedResponse;
方法or属性:endTime: number;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:endTime: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:endTime?: number;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:endTime?: number;
新版本信息:?number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRequest;
方法or属性:flag: PermissionUsageFlag;
旧版本信息:|类名:PermissionUsedRequest;
方法or属性:flag: PermissionUsageFlag;
新版本信息:PermissionUsageFlag|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedResponse;
方法or属性:bundleRecords: Array\;
旧版本信息:|类名:PermissionUsedResponse;
方法or属性:bundleRecords: Array\;
新版本信息:Array\|@ohos.privacyManager.d.ts|
|type有变化|类名:BundleUsedRecord;
方法or属性:permissionRecords: Array\;
旧版本信息:|类名:BundleUsedRecord;
方法or属性:permissionRecords: Array\;
新版本信息:Array\|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:accessCount: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:accessCount: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:rejectCount: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:rejectCount: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:lastAccessTime: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastAccessTime: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:lastRejectTime: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastRejectTime: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:lastAccessDuration: number;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:lastAccessDuration: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:accessRecords: Array\;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:accessRecords: Array\;
新版本信息:Array\|@ohos.privacyManager.d.ts|
|type有变化|类名:PermissionUsedRecord;
方法or属性:rejectRecords: Array\;
旧版本信息:|类名:PermissionUsedRecord;
方法or属性:rejectRecords: Array\;
新版本信息:Array\|@ohos.privacyManager.d.ts|
|type有变化|类名:UsedRecordDetail;
方法or属性:status: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:status: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:UsedRecordDetail;
方法or属性:timestamp: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:timestamp: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:UsedRecordDetail;
方法or属性:accessDuration: number;
旧版本信息:|类名:UsedRecordDetail;
方法or属性:accessDuration: number;
新版本信息:number|@ohos.privacyManager.d.ts|
|type有变化|类名:DataBlob;
方法or属性:data: Uint8Array;
旧版本信息:|类名:DataBlob;
方法or属性:data: Uint8Array;
新版本信息:Uint8Array|@ohos.security.cert.d.ts|
|type有变化|类名:DataArray;
方法or属性:data: Array\;
旧版本信息:|类名:DataArray;
方法or属性:data: Array\;
新版本信息:Array\|@ohos.security.cert.d.ts|
|type有变化|类名:DataBlob;
方法or属性:data: Uint8Array;
旧版本信息:|类名:DataBlob;
方法or属性:data: Uint8Array;
新版本信息:Uint8Array|@ohos.security.cryptoFramework.d.ts|
|type有变化|类名:CipherResponse;
方法or属性:text: string;
旧版本信息:|类名:CipherResponse;
方法or属性:text: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:text: string;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:text: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:text: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:text: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:action: string;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:action: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:action: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:action: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:key: string;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:key: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:key: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:key: string;
新版本信息:string|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:transformation?: string;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:transformation?: string;
新版本信息:?string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:transformation?: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:transformation?: string;
新版本信息:?string|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:success: (data: CipherResponse) => void;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:success: (data: CipherResponse) => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:success: (data: CipherResponse) => void;
旧版本信息:|类名:CipherAesOptions;
方法or属性:success: (data: CipherResponse) => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:fail: (data: string, code: number) => void;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:fail: (data: string, code: number) => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:fail: (data: string, code: number) => void;
旧版本信息:|类名:CipherAesOptions;
方法or属性:fail: (data: string, code: number) => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherRsaOptions;
方法or属性:complete: () => void;
旧版本信息:|类名:CipherRsaOptions;
方法or属性:complete: () => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:complete: () => void;
旧版本信息:|类名:CipherAesOptions;
方法or属性:complete: () => void;
新版本信息:function|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:iv?: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:iv?: string;
新版本信息:?string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:ivOffset?: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:ivOffset?: string;
新版本信息:?string|@system.cipher.d.ts|
|type有变化|类名:CipherAesOptions;
方法or属性:ivLen?: string;
旧版本信息:|类名:CipherAesOptions;
方法or属性:ivLen?: string;
新版本信息:?string|@system.cipher.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:tokenId: number;|类名:PermissionUsedRequest;
方法or属性:tokenId?: number;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:deviceId: string;|类名:PermissionUsedRequest;
方法or属性:deviceId?: string;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:isRemote: boolean;|类名:PermissionUsedRequest;
方法or属性:isRemote?: boolean;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:bundleName: string;|类名:PermissionUsedRequest;
方法or属性:bundleName?: string;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:permissionNames: Array\;|类名:PermissionUsedRequest;
方法or属性:permissionNames?: Array\;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:beginTime: number;|类名:PermissionUsedRequest;
方法or属性:beginTime?: number;|@ohos.privacyManager.d.ts|
|函数有变化|类名:PermissionUsedRequest;
方法or属性:endTime: number;|类名:PermissionUsedRequest;
方法or属性:endTime?: number;|@ohos.privacyManager.d.ts|
|跨平台能力有变化|类名:abilityAccessCtrl;
方法or属性:function createAtManager(): AtManager;
旧版本信息:|类名:abilityAccessCtrl;
方法or属性:function createAtManager(): AtManager;
新版本信息:crossplatform|@ohos.abilityAccessCtrl.d.ts|
|跨平台能力有变化|类名:AtManager;
方法or属性:checkAccessToken(tokenID: number, permissionName: Permissions): Promise\;
旧版本信息:|类名:AtManager;
方法or属性:checkAccessToken(tokenID: number, permissionName: Permissions): Promise\;
新版本信息:crossplatform|@ohos.abilityAccessCtrl.d.ts|
|跨平台能力有变化|类名:AtManager;
方法or属性:requestPermissionsFromUser(
context: Context,
permissionList: Array\,
requestCallback: AsyncCallback\
): void;
旧版本信息:|类名:AtManager;
方法or属性:requestPermissionsFromUser(
context: Context,
permissionList: Array\,
requestCallback: AsyncCallback\