| Change Type | Old Version | New Version | d.ts File | | ---- | ------ | ------ | -------- | |Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts| |Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generateKeyPair(): Promise\;|@ohos.security.cryptoFramework.d.ts| |Added|NA|Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback\): void;|@ohos.security.cert.d.ts| |Added|NA|Class name: cert;
Method or attribute name: function createCertExtension(inStream: EncodingBlob): Promise\;|@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: 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: 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: 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: 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\): void;|@ohos.security.cryptoFramework.d.ts| |Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePriKey(): Promise\;|@ohos.security.cryptoFramework.d.ts| |Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(callback: AsyncCallback\): void;|@ohos.security.cryptoFramework.d.ts| |Added|NA|Class name: AsyKeyGeneratorBySpec;
Method or attribute name: generatePubKey(): Promise\;|@ohos.security.cryptoFramework.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| |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 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\): void;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback: AsyncCallback\): void;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| |Error code changed|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise\;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(): Promise\;
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\): void;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback\): 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\;
Old version information: 401,17620001|Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey: DataBlob, priKey: DataBlob): Promise\;
New version information: 401,17620001,17630001|@ohos.security.cryptoFramework.d.ts| |Type changed|Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: tokenId?: number;
New version information: ?number|@ohos.privacyManager.d.ts| |Type changed|Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;
Old version information: boolean|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: string|Class name: PermissionUsedRequest;
Method or attribute name: deviceId?: string;
New version information: ?string|@ohos.privacyManager.d.ts| |Type changed|Class name: PermissionUsedRequest;
Method or attribute name: bundleName?: string;
Old version information: string|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\;
Old version information: Array\|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array\;
New version information: ?Array\|@ohos.privacyManager.d.ts| |Type changed|Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: beginTime?: number;
New version information: ?number|@ohos.privacyManager.d.ts| |Type changed|Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
Old version information: number|Class name: PermissionUsedRequest;
Method or attribute name: endTime?: number;
New version information: ?number|@ohos.privacyManager.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: isRemote: boolean;|Class name: PermissionUsedRequest;
Method or attribute name: isRemote?: boolean;|@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: 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\;|Class name: PermissionUsedRequest;
Method or attribute name: permissionNames?: Array\;|@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|