harmony 鸿蒙js-apidiff-security

  • 2023-06-24
  • 浏览 (166)

Change Type Old Version New Version d.ts File
Added NA Class name: HuksSessionHandle;
Method or attribute name: handle: number;
@ohos.security.huks.d.ts
Added NA Class name: HuksReturnResult;
Method or attribute name: outData?: Uint8Array;
@ohos.security.huks.d.ts
Added NA Class name: HuksReturnResult;
Method or attribute name: properties?: Array<HuksParam>;
@ohos.security.huks.d.ts
Added NA Class name: HuksReturnResult;
Method or attribute name: certChains?: Array<string>;
@ohos.security.huks.d.ts
Added NA Class name: AtManager;
Method or attribute name: verifyAccessToken(tokenID: number, permissionName: Permissions): Promise<GrantStatus>;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: verifyAccessTokenSync(tokenID: number, permissionName: Permissions): GrantStatus;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: checkAccessToken(tokenID: number, permissionName: Permissions): Promise<GrantStatus>;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>, requestCallback: AsyncCallback<PermissionRequestResult>) : void;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>) : Promise<PermissionRequestResult>;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: getVersion(): Promise<number>;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: on(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: AtManager;
Method or attribute name: off(type: ‘permissionStateChange’, tokenIDList: Array<number>, permissionList: Array<Permissions>, callback?: Callback<PermissionStateChangeInfo>): void;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_REVOKED_OPER = 0
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: PermissionStateChangeType;
Method or attribute name: PERMISSION_GRANTED_OPER = 1
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: PermissionStateChangeInfo;
Method or attribute name: change: PermissionStateChangeType;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: PermissionStateChangeInfo;
Method or attribute name: tokenID: number;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: PermissionStateChangeInfo;
Method or attribute name: permissionName: Permissions;
@ohos.abilityAccessCtrl.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number): Promise<void>;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function addPermissionUsedRecord(tokenID: number, permissionName: Permissions, successCount: number, failCount: number, callback: AsyncCallback<void>): void;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest): Promise<PermissionUsedResponse>;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function getPermissionUsedRecord(request: PermissionUsedRequest, callback: AsyncCallback<PermissionUsedResponse>): void;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function startUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions): Promise<void>;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function stopUsingPermission(tokenID: number, permissionName: Permissions, callback: AsyncCallback<void>): void;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function on(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts
Added NA Class name: privacyManager;
Method or attribute name: function off(type: ‘activeStateChange’, permissionList: Array<Permissions>, callback?: Callback<ActiveChangeResponse>): void;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionActiveStatus;
Method or attribute name: PERM_INACTIVE = 0
@ohos.privacyManager.d.ts
Added NA Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_FOREGROUND = 1
@ohos.privacyManager.d.ts
Added NA Class name: PermissionActiveStatus;
Method or attribute name: PERM_ACTIVE_IN_BACKGROUND = 2
@ohos.privacyManager.d.ts
Added NA Class name: ActiveChangeResponse;
Method or attribute name: tokenId: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: tokenId: number;
@ohos.privacyManager.d.ts
Added NA Class name: BundleUsedRecord;
Method or attribute name: tokenId: number;
@ohos.privacyManager.d.ts
Added NA Class name: ActiveChangeResponse;
Method or attribute name: permissionName: Permissions;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: permissionName: Permissions;
@ohos.privacyManager.d.ts
Added NA Class name: ActiveChangeResponse;
Method or attribute name: deviceId: string;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: deviceId: string;
@ohos.privacyManager.d.ts
Added NA Class name: BundleUsedRecord;
Method or attribute name: deviceId: string;
@ohos.privacyManager.d.ts
Added NA Class name: ActiveChangeResponse;
Method or attribute name: activeStatus: PermissionActiveStatus;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_SUMMARY = 0
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsageFlag;
Method or attribute name: FLAG_PERMISSION_USAGE_DETAIL = 1
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: isRemote: boolean;
@ohos.privacyManager.d.ts
Added NA Class name: BundleUsedRecord;
Method or attribute name: isRemote: boolean;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: bundleName: string;
@ohos.privacyManager.d.ts
Added NA Class name: BundleUsedRecord;
Method or attribute name: bundleName: string;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: permissionNames: Array<Permissions>;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: beginTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedResponse;
Method or attribute name: beginTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: endTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedResponse;
Method or attribute name: endTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRequest;
Method or attribute name: flag: PermissionUsageFlag;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedResponse;
Method or attribute name: bundleRecords: Array<BundleUsedRecord>;
@ohos.privacyManager.d.ts
Added NA Class name: BundleUsedRecord;
Method or attribute name: permissionRecords: Array<PermissionUsedRecord>;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: accessCount: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: rejectCount: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: lastAccessTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: lastRejectTime: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: lastAccessDuration: number;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: accessRecords: Array<UsedRecordDetail>;
@ohos.privacyManager.d.ts
Added NA Class name: PermissionUsedRecord;
Method or attribute name: rejectRecords: Array<UsedRecordDetail>;
@ohos.privacyManager.d.ts
Added NA Class name: UsedRecordDetail;
Method or attribute name: status: number;
@ohos.privacyManager.d.ts
Added NA Class name: UsedRecordDetail;
Method or attribute name: timestamp: number;
@ohos.privacyManager.d.ts
Added NA Class name: UsedRecordDetail;
Method or attribute name: accessDuration: number;
@ohos.privacyManager.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_CERT_SIGNATURE_FAILURE = 19030002
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_CERT_NOT_YET_VALID = 19030003
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_CERT_HAS_EXPIRED = 19030004
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 19030005
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_KEYUSAGE_NO_CERTSIGN = 19030006
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE = 19030007
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createX509Cert(inStream : EncodingBlob, callback : AsyncCallback<X509Cert>) : void;
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createX509Cert(inStream : EncodingBlob) : Promise<X509Cert>;
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createX509Crl(inStream : EncodingBlob, callback : AsyncCallback<X509Crl>) : void;
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createX509Crl(inStream : EncodingBlob) : Promise<X509Crl>;
@ohos.security.cert.d.ts
Added NA Class name: cert;
Method or attribute name: function createCertChainValidator(algorithm :string) : CertChainValidator;
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: INVALID_PARAMS = 401
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: NOT_SUPPORT = 801
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_OUT_OF_MEMORY = 19020001
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_RUNTIME_ERROR = 19020002
@ohos.security.cert.d.ts
Added NA Class name: CertResult;
Method or attribute name: ERR_CRYPTO_OPERATION = 19030001
@ohos.security.cert.d.ts
Added NA Class name: DataBlob;
Method or attribute name: data : Uint8Array;
@ohos.security.cert.d.ts
Added NA Class name: EncodingBlob;
Method or attribute name: data : Uint8Array;
@ohos.security.cert.d.ts
Added NA Class name: CertChainData;
Method or attribute name: data: Uint8Array;
@ohos.security.cert.d.ts
Added NA Class name: DataArray;
Method or attribute name: data : Array<Uint8Array>;
@ohos.security.cert.d.ts
Added NA Class name: EncodingFormat;
Method or attribute name: FORMAT_DER = 0
@ohos.security.cert.d.ts
Added NA Class name: EncodingFormat;
Method or attribute name: FORMAT_PEM = 1
@ohos.security.cert.d.ts
Added NA Class name: EncodingBlob;
Method or attribute name: encodingFormat : EncodingFormat;
@ohos.security.cert.d.ts
Added NA Class name: CertChainData;
Method or attribute name: encodingFormat: EncodingFormat;
@ohos.security.cert.d.ts
Added NA Class name: CertChainData;
Method or attribute name: count : number;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback<void>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: verify(key : cryptoFramework.PubKey, callback : AsyncCallback<void>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise<void>;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: verify(key : cryptoFramework.PubKey) : Promise<void>;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509CrlEntry;
Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getEncoded(callback : AsyncCallback<EncodingBlob>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getEncoded() : Promise<EncodingBlob>;
@ohos.security.cert.d.ts
Added NA Class name: X509CrlEntry;
Method or attribute name: getEncoded() : Promise<EncodingBlob>;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getEncoded() : Promise<EncodingBlob>;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getPublicKey() : cryptoFramework.PubKey;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: checkValidityWithDate(date: string) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getVersion() : number;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getVersion() : number;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSerialNumber() : number;
@ohos.security.cert.d.ts
Added NA Class name: X509CrlEntry;
Method or attribute name: getSerialNumber() : number;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getIssuerName() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getIssuerName() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSubjectName() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getNotBeforeTime() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getNotAfterTime() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSignature() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getSignature() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSignatureAlgName() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getSignatureAlgName() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSignatureAlgOid() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getSignatureAlgOid() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSignatureAlgParams() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getSignatureAlgParams() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getKeyUsage() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getExtKeyUsage() : DataArray;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getBasicConstraints() : number;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getSubjectAltNames() : DataArray;
@ohos.security.cert.d.ts
Added NA Class name: X509Cert;
Method or attribute name: getIssuerAltNames() : DataArray;
@ohos.security.cert.d.ts
Added NA Class name: X509CrlEntry;
Method or attribute name: getCertIssuer() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: X509CrlEntry;
Method or attribute name: getRevocationDate() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: isRevoked(cert : X509Cert) : boolean;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getType() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getLastUpdate() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getNextUpdate() : string;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getRevokedCert(serialNumber : number) : X509CrlEntry;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getRevokedCertWithCert(cert : X509Cert) : X509CrlEntry;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getRevokedCerts(callback : AsyncCallback<Array<X509CrlEntry>>) : void;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getRevokedCerts() : Promise<Array<X509CrlEntry>>;
@ohos.security.cert.d.ts
Added NA Class name: X509Crl;
Method or attribute name: getTbsInfo() : DataBlob;
@ohos.security.cert.d.ts
Added NA Class name: CertChainValidator;
Method or attribute name: validate(certChain : CertChainData, callback : AsyncCallback<void>) : void;
@ohos.security.cert.d.ts
Added NA Class name: CertChainValidator;
Method or attribute name: validate(certChain : CertChainData) : Promise<void>;
@ohos.security.cert.d.ts
Added NA Class name: CertChainValidator;
Method or attribute name: readonly algorithm : string;
@ohos.security.cert.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createRandom() : Random;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createAsyKeyGenerator(algName : string) : AsyKeyGenerator;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createSymKeyGenerator(algName : string) : SymKeyGenerator;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createMac(algName : string) : Mac;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createMd(algName : string) : Md;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createCipher(transformation : string) : Cipher;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createSign(algName : string) : Sign;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createVerify(algName : string) : Verify;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: cryptoFramework;
Method or attribute name: function createKeyAgreement(algName : string) : KeyAgreement;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Result;
Method or attribute name: INVALID_PARAMS = 401
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Result;
Method or attribute name: NOT_SUPPORT = 801
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Result;
Method or attribute name: ERR_OUT_OF_MEMORY = 17620001
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Result;
Method or attribute name: ERR_RUNTIME_ERROR = 17620002
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Result;
Method or attribute name: ERR_CRYPTO_OPERATION = 17630001
@ohos.security.cryptoFramework.d.ts
Added NA Class name: DataBlob;
Method or attribute name: data : Uint8Array;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: ParamsSpec;
Method or attribute name: algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: IvParamsSpec;
Method or attribute name: iv : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: GcmParamsSpec;
Method or attribute name: iv : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CcmParamsSpec;
Method or attribute name: iv : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: GcmParamsSpec;
Method or attribute name: aad : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CcmParamsSpec;
Method or attribute name: aad : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: GcmParamsSpec;
Method or attribute name: authTag : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CcmParamsSpec;
Method or attribute name: authTag : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CryptoMode;
Method or attribute name: ENCRYPT_MODE = 0
@ohos.security.cryptoFramework.d.ts
Added NA Class name: CryptoMode;
Method or attribute name: DECRYPT_MODE = 1
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Key;
Method or attribute name: getEncoded() : DataBlob;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Key;
Method or attribute name: readonly format : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Key;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKeyGenerator;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: KeyAgreement;
Method or attribute name: readonly algName : string;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKey;
Method or attribute name: clearMem() : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: PriKey;
Method or attribute name: clearMem() : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: KeyPair;
Method or attribute name: readonly priKey : PriKey;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: KeyPair;
Method or attribute name: readonly pubKey : PubKey;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Random;
Method or attribute name: generateRandom(len : number, callback: AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Random;
Method or attribute name: generateRandom(len : number) : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Random;
Method or attribute name: setSeed(seed : DataBlob) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair(callback : AsyncCallback<KeyPair>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: generateKeyPair() : Promise<KeyPair>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey : DataBlob, priKey : DataBlob, callback : AsyncCallback<KeyPair>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: AsyKeyGenerator;
Method or attribute name: convertKey(pubKey : DataBlob, priKey : DataBlob) : Promise<KeyPair>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKeyGenerator;
Method or attribute name: generateSymKey(callback : AsyncCallback<SymKey>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKeyGenerator;
Method or attribute name: generateSymKey() : Promise<SymKey>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKeyGenerator;
Method or attribute name: convertKey(key : DataBlob, callback : AsyncCallback<SymKey>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: SymKeyGenerator;
Method or attribute name: convertKey(key : DataBlob) : Promise<SymKey>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: init(key : SymKey, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: init(key : SymKey) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: update(input : DataBlob, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: update(input : DataBlob, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: update(input : DataBlob) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: update(input : DataBlob) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: doFinal(callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: doFinal() : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Mac;
Method or attribute name: getMacLength() : number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: digest(callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: digest() : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Md;
Method or attribute name: getMdLength() : number;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: init(opMode : CryptoMode, key : Key, params : ParamsSpec, 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) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: update(data : DataBlob, callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: update(data : DataBlob) : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: doFinal(data : DataBlob, callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Cipher;
Method or attribute name: doFinal(data : DataBlob) : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: init(priKey : PriKey, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: init(priKey : PriKey) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: update(data : DataBlob, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: update(data : DataBlob, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: update(data : DataBlob) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: update(data : DataBlob) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: sign(data : DataBlob, callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Sign;
Method or attribute name: sign(data : DataBlob) : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: init(pubKey : PubKey, callback : AsyncCallback<void>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: init(pubKey : PubKey) : Promise<void>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: verify(data : DataBlob, signatureData : DataBlob, callback : AsyncCallback<boolean>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: Verify;
Method or attribute name: verify(data : DataBlob, signatureData : DataBlob) : Promise<boolean>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: KeyAgreement;
Method or attribute name: generateSecret(priKey : PriKey, pubKey : PubKey, callback : AsyncCallback<DataBlob>) : void;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: KeyAgreement;
Method or attribute name: generateSecret(priKey : PriKey, pubKey : PubKey) : Promise<DataBlob>;
@ohos.security.cryptoFramework.d.ts
Added NA Class name: huks;
Method or attribute name: function generateKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<void>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function generateKeyItem(keyAlias: string, options: HuksOptions) : Promise<void>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function deleteKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<void>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function deleteKeyItem(keyAlias: string, options: HuksOptions) : Promise<void>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function importKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<void>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function importKeyItem(keyAlias: string, options: HuksOptions) : Promise<void>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions, callback: AsyncCallback<void>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function importWrappedKeyItem(keyAlias: string, wrappingKeyAlias: string, options: HuksOptions) : Promise<void>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function exportKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function exportKeyItem(keyAlias: string, options: HuksOptions) : Promise<HuksReturnResult>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function getKeyItemProperties(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function getKeyItemProperties(keyAlias: string, options: HuksOptions) : Promise<HuksReturnResult>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function isKeyItemExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback<boolean>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function isKeyItemExist(keyAlias: string, options: HuksOptions) : Promise<boolean>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function initSession(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksSessionHandle>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function initSession(keyAlias: string, options: HuksOptions) : Promise<HuksSessionHandle>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function updateSession(handle: number, options: HuksOptions, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function updateSession(handle: number, options: HuksOptions, token: Uint8Array, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function updateSession(handle: number, options: HuksOptions, token?: Uint8Array) : Promise<HuksReturnResult>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function finishSession(handle: number, options: HuksOptions, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function finishSession(handle: number, options: HuksOptions, token: Uint8Array, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function finishSession(handle: number, options: HuksOptions, token?: Uint8Array) : Promise<HuksReturnResult>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function abortSession(handle: number, options: HuksOptions, callback: AsyncCallback<void>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function abortSession(handle: number, options: HuksOptions) : Promise<void>;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function attestKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksReturnResult>) : void;
@ohos.security.huks.d.ts
Added NA Class name: huks;
Method or attribute name: function attestKeyItem(keyAlias: string, options: HuksOptions) : Promise<HuksReturnResult>;
@ohos.security.huks.d.ts
Added NA Class name: HuksSessionHandle;
Method or attribute name: challenge?: Uint8Array;
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_PERMISSION_FAIL = 201
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_ILLEGAL_ARGUMENT = 401
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_NOT_SUPPORTED_API = 801
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_FEATURE_NOT_SUPPORTED = 12000001
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_MISSING_CRYPTO_ALG_ARGUMENT = 12000002
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_INVALID_CRYPTO_ALG_ARGUMENT = 12000003
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_FILE_OPERATION_FAIL = 12000004
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_COMMUNICATION_FAIL = 12000005
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_CRYPTO_FAIL = 12000006
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_PERMANENTLY_INVALIDATED = 12000007
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_VERIFY_FAILED = 12000008
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_KEY_AUTH_TIME_OUT = 12000009
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_SESSION_LIMIT = 12000010
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_ITEM_NOT_EXIST = 12000011
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_EXTERNAL_ERROR = 12000012
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_CREDENTIAL_NOT_EXIST = 12000013
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_INSUFFICIENT_MEMORY = 12000014
@ohos.security.huks.d.ts
Added NA Class name: HuksExceptionErrCode;
Method or attribute name: HUKS_ERR_CODE_CALL_SERVICE_FAILED = 12000015
@ohos.security.huks.d.ts
Added NA Class name: HuksKeyDigest;
Method or attribute name: HUKS_DIGEST_SM3 = 2
@ohos.security.huks.d.ts
Added NA Class name: HuksKeySize;
Method or attribute name: HUKS_SM2_KEY_SIZE_256 = 256
@ohos.security.huks.d.ts
Added NA Class name: HuksKeySize;
Method or attribute name: HUKS_SM4_KEY_SIZE_128 = 128
@ohos.security.huks.d.ts
Added NA Class name: HuksKeyAlg;
Method or attribute name: HUKS_ALG_SM2 = 150
@ohos.security.huks.d.ts
Added NA Class name: HuksKeyAlg;
Method or attribute name: HUKS_ALG_SM3 = 151
@ohos.security.huks.d.ts
Added NA Class name: HuksKeyAlg;
Method or attribute name: HUKS_ALG_SM4 = 152
@ohos.security.huks.d.ts
Added NA Class name: HuksUnwrapSuite;
Method or attribute name: HUKS_UNWRAP_SUITE_X25519_AES_256_GCM_NOPADDING = 1
@ohos.security.huks.d.ts
Added NA Class name: HuksUnwrapSuite;
Method or attribute name: HUKS_UNWRAP_SUITE_ECDH_AES_256_GCM_NOPADDING = 2
@ohos.security.huks.d.ts
Added NA Class name: HuksImportKeyType;
Method or attribute name: HUKS_KEY_TYPE_PUBLIC_KEY = 0
@ohos.security.huks.d.ts
Added NA Class name: HuksImportKeyType;
Method or attribute name: HUKS_KEY_TYPE_PRIVATE_KEY = 1
@ohos.security.huks.d.ts
Added NA Class name: HuksImportKeyType;
Method or attribute name: HUKS_KEY_TYPE_KEY_PAIR = 2
@ohos.security.huks.d.ts
Added NA Class name: HuksUserAuthType;
Method or attribute name: HUKS_USER_AUTH_TYPE_FINGERPRINT = 1 << 0
@ohos.security.huks.d.ts
Added NA Class name: HuksUserAuthType;
Method or attribute name: HUKS_USER_AUTH_TYPE_FACE = 1 << 1
@ohos.security.huks.d.ts
Added NA Class name: HuksUserAuthType;
Method or attribute name: HUKS_USER_AUTH_TYPE_PIN = 1 << 2
@ohos.security.huks.d.ts
Added NA Class name: HuksAuthAccessType;
Method or attribute name: HUKS_AUTH_ACCESS_INVALID_CLEAR_PASSWORD = 1 << 0
@ohos.security.huks.d.ts
Added NA Class name: HuksAuthAccessType;
Method or attribute name: HUKS_AUTH_ACCESS_INVALID_NEW_BIO_ENROLL = 1 << 1
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengeType;
Method or attribute name: HUKS_CHALLENGE_TYPE_NORMAL = 0
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengeType;
Method or attribute name: HUKS_CHALLENGE_TYPE_CUSTOM = 1
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengeType;
Method or attribute name: HUKS_CHALLENGE_TYPE_NONE = 2
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengePosition;
Method or attribute name: HUKS_CHALLENGE_POS_0 = 0
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengePosition;
Method or attribute name: HUKS_CHALLENGE_POS_1
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengePosition;
Method or attribute name: HUKS_CHALLENGE_POS_2
@ohos.security.huks.d.ts
Added NA Class name: HuksChallengePosition;
Method or attribute name: HUKS_CHALLENGE_POS_3
@ohos.security.huks.d.ts
Added NA Class name: HuksSecureSignType;
Method or attribute name: HUKS_SECURE_SIGN_WITH_AUTHINFO = 1
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_IMPORT_KEY_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT |25
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_UNWRAP_ALGORITHM_SUITE = HuksTagType.HUKS_TAG_TYPE_UINT |26
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_KEY_AUTH_ACCESS_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT |307
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_KEY_SECURE_SIGN_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT |308
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_CHALLENGE_TYPE = HuksTagType.HUKS_TAG_TYPE_UINT |309
@ohos.security.huks.d.ts
Added NA Class name: HuksTag;
Method or attribute name: HUKS_TAG_CHALLENGE_POS = HuksTagType.HUKS_TAG_TYPE_UINT |310
@ohos.security.huks.d.ts
Added NA Class name: PermissionRequestResult;
Method or attribute name: permissions: Array<string>;
PermissionRequestResult.d.ts
Added NA Class name: PermissionRequestResult;
Method or attribute name: authResults: Array<number>;
PermissionRequestResult.d.ts
Deprecated version changed Class name: AtManager;
Method or attribute name: verifyAccessToken(tokenID: number, permissionName: string): Promise<GrantStatus>;
Old version:
Class name: AtManager;
Method or attribute name: verifyAccessToken(tokenID: number, permissionName: string): Promise<GrantStatus>;
New version: 9
Substitute API: ohos.abilityAccessCtrl.AtManager#checkAccessToken
@ohos.abilityAccessCtrl.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.generateKeyItem
@ohos.security.huks.d.ts
Deprecated version changed Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
Old version:
Class name: huks;
Method or attribute name: function generateKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function deleteKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.deleteKeyItem
@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:
Class name: huks;
Method or attribute name: function deleteKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function importKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.importKeyItem
@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:
Class name: huks;
Method or attribute name: function importKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function exportKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.exportKeyItem
@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:
Class name: huks;
Method or attribute name: function exportKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function getKeyProperties(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.getKeyItemProperties
@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:
Class name: huks;
Method or attribute name: function getKeyProperties(keyAlias: string, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<boolean>) : void;
Old version:
Class name: huks;
Method or attribute name: function isKeyExist(keyAlias: string, options: HuksOptions, callback: AsyncCallback<boolean>) : void;
New version: 9
Substitute API: ohos.security.huks.isKeyItemExist
@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:
Class name: huks;
Method or attribute name: function isKeyExist(keyAlias: string, options: HuksOptions) : Promise<boolean>;
New version: 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, callback: AsyncCallback<HuksHandle>) : void;
Old version:
Class name: huks;
Method or attribute name: function init(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksHandle>) : void;
New version: 9
Substitute API: ohos.security.huks.initSession
@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:
Class name: huks;
Method or attribute name: function init(keyAlias: string, options: HuksOptions) : Promise<HuksHandle>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.updateSession
@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:
Class name: huks;
Method or attribute name: function update(handle: number, token?: Uint8Array, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function finish(handle: number, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.finishSession
@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:
Class name: huks;
Method or attribute name: function finish(handle: number, options: HuksOptions) : Promise<HuksResult>;
New version: 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, callback: AsyncCallback<HuksResult>) : void;
Old version:
Class name: huks;
Method or attribute name: function abort(handle: number, options: HuksOptions, callback: AsyncCallback<HuksResult>) : void;
New version: 9
Substitute API: ohos.security.huks.abortSession
@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:
Class name: huks;
Method or attribute name: function abort(handle: number, options: HuksOptions) : Promise<HuksResult>;
New version: 9
Substitute API: ohos.security.huks.abortSession
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksHandle;
Method or attribute name: export interface HuksHandle
Old version:
Class name: HuksHandle;
Method or attribute name: export interface HuksHandle
New version: 9
Substitute API: ohos.security.huks.HuksSessionHandle
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksHandle;
Method or attribute name: errorCode: number;
Old version:
Class name: HuksHandle;
Method or attribute name: errorCode: number;
New version: 9
Substitute API: ohos.security.huks.HuksSessionHandle
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult;
Method or attribute name: errorCode: number;
Old version:
Class name: HuksResult;
Method or attribute name: errorCode: number;
New version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksHandle;
Method or attribute name: handle: number;
Old version:
Class name: HuksHandle;
Method or attribute name: handle: number;
New version: 9
Substitute API: ohos.security.huks.HuksSessionHandle
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksHandle;
Method or attribute name: token?: Uint8Array;
Old version:
Class name: HuksHandle;
Method or attribute name: token?: Uint8Array;
New version: 9
Substitute API: ohos.security.huks.HuksSessionHandle
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult;
Method or attribute name: export interface HuksResult
Old version:
Class name: HuksResult;
Method or attribute name: export interface HuksResult
New version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult;
Method or attribute name: outData?: Uint8Array;
Old version:
Class name: HuksResult;
Method or attribute name: outData?: Uint8Array;
New version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult;
Method or attribute name: properties?: Array<HuksParam>;
Old version:
Class name: HuksResult;
Method or attribute name: properties?: Array<HuksParam>;
New version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksResult;
Method or attribute name: certChains?: Array<string>;
Old version:
Class name: HuksResult;
Method or attribute name: certChains?: Array<string>;
New version: 9
Substitute API: ohos.security.huks.HuksReturnResult
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: export enum HuksErrorCode
Old version:
Class name: HuksErrorCode;
Method or attribute name: export enum HuksErrorCode
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_SUCCESS = 0
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_SUCCESS = 0
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_FAILURE = -1
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_FAILURE = -1
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_BAD_STATE = -2
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_BAD_STATE = -2
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ARGUMENT = -3
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ARGUMENT = -3
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NOT_SUPPORTED = -4
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NOT_SUPPORTED = -4
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NO_PERMISSION = -5
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NO_PERMISSION = -5
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INSUFFICIENT_DATA = -6
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INSUFFICIENT_DATA = -6
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_BUFFER_TOO_SMALL = -7
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_BUFFER_TOO_SMALL = -7
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INSUFFICIENT_MEMORY = -8
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INSUFFICIENT_MEMORY = -8
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_COMMUNICATION_FAILURE = -9
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_COMMUNICATION_FAILURE = -9
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_STORAGE_FAILURE = -10
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_STORAGE_FAILURE = -10
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_HARDWARE_FAILURE = -11
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_HARDWARE_FAILURE = -11
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_ALREADY_EXISTS = -12
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_ALREADY_EXISTS = -12
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NOT_EXIST = -13
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NOT_EXIST = -13
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NULL_POINTER = -14
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NULL_POINTER = -14
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_FILE_SIZE_FAIL = -15
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_FILE_SIZE_FAIL = -15
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_READ_FILE_FAIL = -16
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_READ_FILE_FAIL = -16
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PUBLIC_KEY = -17
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PUBLIC_KEY = -17
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PRIVATE_KEY = -18
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PRIVATE_KEY = -18
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_INFO = -19
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_INFO = -19
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_HASH_NOT_EQUAL = -20
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_HASH_NOT_EQUAL = -20
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_MALLOC_FAIL = -21
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_MALLOC_FAIL = -21
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_WRITE_FILE_FAIL = -22
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_WRITE_FILE_FAIL = -22
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_REMOVE_FILE_FAIL = -23
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_REMOVE_FILE_FAIL = -23
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_OPEN_FILE_FAIL = -24
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_OPEN_FILE_FAIL = -24
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CLOSE_FILE_FAIL = -25
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CLOSE_FILE_FAIL = -25
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_MAKE_DIR_FAIL = -26
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_MAKE_DIR_FAIL = -26
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_FILE = -27
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_FILE = -27
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_MSG_FAIL = -28
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_MSG_FAIL = -28
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_REQUEST_OVERFLOWS = -29
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_REQUEST_OVERFLOWS = -29
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_PARAM_NOT_EXIST = -30
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_PARAM_NOT_EXIST = -30
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CRYPTO_ENGINE_ERROR = -31
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CRYPTO_ENGINE_ERROR = -31
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_COMMUNICATION_TIMEOUT = -32
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_COMMUNICATION_TIMEOUT = -32
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_INIT_FAIL = -33
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_INIT_FAIL = -33
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_DLOPEN_FAIL = -34
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_IPC_DLOPEN_FAIL = -34
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_EFUSE_READ_FAIL = -35
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_EFUSE_READ_FAIL = -35
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NEW_ROOT_KEY_MATERIAL_EXIST = -36
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_NEW_ROOT_KEY_MATERIAL_EXIST = -36
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_UPDATE_ROOT_KEY_MATERIAL_FAIL = -37
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_UPDATE_ROOT_KEY_MATERIAL_FAIL = -37
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_VERIFICATION_FAILED = -38
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_VERIFICATION_FAILED = -38
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_ALG_FAIL = -100
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_ALG_FAIL = -100
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_KEY_SIZE_FAIL = -101
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_KEY_SIZE_FAIL = -101
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_PADDING_FAIL = -102
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_PADDING_FAIL = -102
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_PURPOSE_FAIL = -103
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_PURPOSE_FAIL = -103
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_DIGEST_FAIL = -104
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_DIGEST_FAIL = -104
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_MODE_FAIL = -105
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_MODE_FAIL = -105
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_NONCE_FAIL = -106
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_NONCE_FAIL = -106
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_AAD_FAIL = -107
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_AAD_FAIL = -107
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_IV_FAIL = -108
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_IV_FAIL = -108
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_AE_TAG_FAIL = -109
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_AE_TAG_FAIL = -109
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_SALT_FAIL = -110
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_SALT_FAIL = -110
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_ITERATION_FAIL = -111
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_CHECK_GET_ITERATION_FAIL = -111
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ALGORITHM = -112
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ALGORITHM = -112
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_SIZE = -113
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_KEY_SIZE = -113
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PADDING = -114
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PADDING = -114
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PURPOSE = -115
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_PURPOSE = -115
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_MODE = -116
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_MODE = -116
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_DIGEST = -117
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_DIGEST = -117
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_SIGNATURE_SIZE = -118
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_SIGNATURE_SIZE = -118
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_IV = -119
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_IV = -119
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_AAD = -120
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_AAD = -120
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_NONCE = -121
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_NONCE = -121
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_AE_TAG = -122
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_AE_TAG = -122
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_SALT = -123
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_SALT = -123
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ITERATION = -124
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_ITERATION = -124
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_OPERATION = -125
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INVALID_OPERATION = -125
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INTERNAL_ERROR = -999
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_INTERNAL_ERROR = -999
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_UNKNOWN_ERROR = -1000
Old version:
Class name: HuksErrorCode;
Method or attribute name: HUKS_ERROR_UNKNOWN_ERROR = -1000
New version: 9
Substitute API: ohos.security.huks.HuksExceptionErrCode
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID |0
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_INVALID = HuksTagType.HUKS_TAG_TYPE_INVALID |0
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES |13
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_PWD = HuksTagType.HUKS_TAG_TYPE_BYTES |13
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES |16
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_MAIN_KEY = HuksTagType.HUKS_TAG_TYPE_BYTES |16
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES |17
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_FACTOR = HuksTagType.HUKS_TAG_TYPE_BYTES |17
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT |18
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_DERIVE_ALG = HuksTagType.HUKS_TAG_TYPE_UINT |18
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |201
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ACTIVE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |201
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |202
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ORIGINATION_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |202
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |203
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_USAGE_EXPIRE_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |203
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |204
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_CREATION_DATETIME = HuksTagType.HUKS_TAG_TYPE_ULONG |204
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES |503
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_BRAND = HuksTagType.HUKS_TAG_TYPE_BYTES |503
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES |504
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_DEVICE = HuksTagType.HUKS_TAG_TYPE_BYTES |504
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES |505
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_PRODUCT = HuksTagType.HUKS_TAG_TYPE_BYTES |505
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES |506
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SERIAL = HuksTagType.HUKS_TAG_TYPE_BYTES |506
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES |507
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_IMEI = HuksTagType.HUKS_TAG_TYPE_BYTES |507
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES |508
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MEID = HuksTagType.HUKS_TAG_TYPE_BYTES |508
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES |509
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MANUFACTURER = HuksTagType.HUKS_TAG_TYPE_BYTES |509
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES |510
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_MODEL = HuksTagType.HUKS_TAG_TYPE_BYTES |510
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES |512
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_SOCID = HuksTagType.HUKS_TAG_TYPE_BYTES |512
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES |513
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ATTESTATION_ID_UDID = HuksTagType.HUKS_TAG_TYPE_BYTES |513
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL |1009
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_SECURE_KEY_ALIAS = HuksTagType.HUKS_TAG_TYPE_BOOL |1009
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES |1010
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_SECURE_KEY_UUID = HuksTagType.HUKS_TAG_TYPE_BYTES |1010
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES |10001
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_PROCESS_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES |10001
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES |10002
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_PACKAGE_NAME = HuksTagType.HUKS_TAG_TYPE_BYTES |10002
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT |10003
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_ACCESS_TIME = HuksTagType.HUKS_TAG_TYPE_UINT |10003
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT |10004
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_USES_TIME = HuksTagType.HUKS_TAG_TYPE_UINT |10004
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG |10005
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_CRYPTO_CTX = HuksTagType.HUKS_TAG_TYPE_ULONG |10005
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT |10007
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_KEY_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT |10007
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT |10008
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_PAYLOAD_LEN = HuksTagType.HUKS_TAG_TYPE_UINT |10008
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG |10010
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_IS_KEY_HANDLE = HuksTagType.HUKS_TAG_TYPE_ULONG |10010
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT |10101
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_OS_VERSION = HuksTagType.HUKS_TAG_TYPE_UINT |10101
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: HuksTag;
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT |10102
Old version:
Class name: HuksTag;
Method or attribute name: HUKS_TAG_OS_PATCHLEVEL = HuksTagType.HUKS_TAG_TYPE_UINT |10102
New version: 9
Substitute API:
@ohos.security.huks.d.ts
Deprecated version changed Class name: Cipher;
Method or attribute name: export default class Cipher
Old version:
Class name: Cipher;
Method or attribute name: export default class Cipher
New version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Deprecated version changed Class name: Cipher;
Method or attribute name: static rsa(options: CipherRsaOptions): void;
Old version:
Class name: Cipher;
Method or attribute name: static rsa(options: CipherRsaOptions): void;
New version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Deprecated version changed Class name: Cipher;
Method or attribute name: static aes(options: CipherAesOptions): void;
Old version:
Class name: Cipher;
Method or attribute name: static aes(options: CipherAesOptions): void;
New version: 9
Substitute API: ohos.security.cryptoFramework.Cipher
@system.cipher.d.ts
Error code added Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
Old version:
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
New version: 401,201,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): Promise<void>;
Old version:
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
New version: 401,201,12100001,12100002,12100003,12100006,12100007
@ohos.abilityAccessCtrl.d.ts
Error code added Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: Permissions): Promise<number>;
Old version:
Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: Permissions): Promise<number>;
New version: 401,201,12100001,12100002,12100003,12100006,12100007
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number): Promise<number>;
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number, callback: AsyncCallback<number>): void;
Class name: AtManager;
Method or attribute name: grantUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number): Promise<number>;
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number): Promise<void>;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: string, permissionFlag: number, callback: AsyncCallback<number>): void;
Class name: AtManager;
Method or attribute name: revokeUserGrantedPermission(tokenID: number, permissionName: Permissions, permissionFlags: number, callback: AsyncCallback<void>): void;
@ohos.abilityAccessCtrl.d.ts
Function changed Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: string): Promise<number>;
Class name: AtManager;
Method or attribute name: getPermissionFlags(tokenID: number, permissionName: Permissions): Promise<number>;
@ohos.abilityAccessCtrl.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

0  赞