操作 | 旧版本 | 新版本 | d.ts文件 |
---|---|---|---|
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generateKeyPair(callback: AsyncCallback<KeyPair>): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generateKeyPair(): Promise<KeyPair>; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:cert; 方法or属性:function createCertExtension(inStream: EncodingBlob, callback: AsyncCallback<CertExtension>): void; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:cert; 方法or属性:function createCertExtension(inStream: EncodingBlob): Promise<CertExtension>; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertItemType; 方法or属性:CERT_ITEM_TYPE_TBS = 0 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertItemType; 方法or属性:CERT_ITEM_TYPE_PUBLIC_KEY = 1 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertItemType; 方法or属性:CERT_ITEM_TYPE_ISSUER_UNIQUE_ID = 2 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertItemType; 方法or属性:CERT_ITEM_TYPE_SUBJECT_UNIQUE_ID = 3 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertItemType; 方法or属性:CERT_ITEM_TYPE_EXTENSIONS = 4 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionOidType; 方法or属性:EXTENSION_OID_TYPE_ALL = 0 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionOidType; 方法or属性:EXTENSION_OID_TYPE_CRITICAL = 1 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionOidType; 方法or属性:EXTENSION_OID_TYPE_UNCRITICAL = 2 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionEntryType; 方法or属性:EXTENSION_ENTRY_TYPE_ENTRY = 0 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionEntryType; 方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_CRITICAL = 1 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:ExtensionEntryType; 方法or属性:EXTENSION_ENTRY_TYPE_ENTRY_VALUE = 2 |
@ohos.security.cert.d.ts |
新增 | NA | 类名:X509Cert; 方法or属性:getCertSerialNumber(): bigint; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:X509Cert; 方法or属性:getItem(itemType: CertItemType): DataBlob; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertExtension; 方法or属性:getEncoded(): EncodingBlob; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertExtension; 方法or属性:getOidList(valueType: ExtensionOidType): DataArray; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertExtension; 方法or属性:getEntry(valueType: ExtensionEntryType, oid: DataBlob): DataBlob; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:CertExtension; 方法or属性:checkCA(): number; |
@ohos.security.cert.d.ts |
新增 | NA | 类名:cryptoFramework; 方法or属性:function createAsyKeyGeneratorBySpec(asyKeySpec: AsyKeySpec): AsyKeyGeneratorBySpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:PriKey; 方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint | string | number; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:PubKey; 方法or属性:getAsyKeySpec(itemType: AsyKeySpecItem): bigint | string | number; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Random; 方法or属性:generateRandomSync(len: number): DataBlob; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Random; 方法or属性:readonly algName: string; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:readonly algName: string; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:CipherSpecItem; 方法or属性:OAEP_MD_NAME_STR = 100 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:CipherSpecItem; 方法or属性:OAEP_MGF_NAME_STR = 101 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:CipherSpecItem; 方法or属性:OAEP_MGF1_MD_STR = 102 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:CipherSpecItem; 方法or属性:OAEP_MGF1_PSRC_UINT8ARR = 103 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:SignSpecItem; 方法or属性:PSS_MD_NAME_STR = 100 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:SignSpecItem; 方法or属性:PSS_MGF_NAME_STR = 101 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:SignSpecItem; 方法or属性:PSS_MGF1_MD_STR = 102 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:SignSpecItem; 方法or属性:PSS_SALT_LEN_NUM = 103 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:SignSpecItem; 方法or属性:PSS_TRAILER_FIELD_NUM = 104 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Cipher; 方法or属性:setCipherSpec(itemType: CipherSpecItem, itemValue: Uint8Array): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Cipher; 方法or属性:getCipherSpec(itemType: CipherSpecItem): string | Uint8Array; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Sign; 方法or属性:setSignSpec(itemType: SignSpecItem, itemValue: number): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Sign; 方法or属性:getSignSpec(itemType: SignSpecItem): string | number; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Verify; 方法or属性:setVerifySpec(itemType: SignSpecItem, itemValue: number): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Verify; 方法or属性:getVerifySpec(itemType: SignSpecItem): string | number; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:DSA_P_BN = 101 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:DSA_Q_BN = 102 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:DSA_G_BN = 103 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:DSA_SK_BN = 104 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:DSA_PK_BN = 105 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_FP_P_BN = 201 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_A_BN = 202 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_B_BN = 203 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_G_X_BN = 204 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_G_Y_BN = 205 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_N_BN = 206 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_H_NUM = 207 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_SK_BN = 208 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_PK_X_BN = 209 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_PK_Y_BN = 210 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_FIELD_TYPE_STR = 211 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_FIELD_SIZE_NUM = 212 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:ECC_CURVE_NAME_STR = 213 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:RSA_N_BN = 301 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:RSA_SK_BN = 302 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecItem; 方法or属性:RSA_PK_BN = 303 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecType; 方法or属性:COMMON_PARAMS_SPEC = 0 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecType; 方法or属性:PRIVATE_KEY_SPEC = 1 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecType; 方法or属性:PUBLIC_KEY_SPEC = 2 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpecType; 方法or属性:KEY_PAIR_SPEC = 3 |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpec; 方法or属性:algName: string; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeySpec; 方法or属性:specType: AsyKeySpecType; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSACommonParamsSpec; 方法or属性:p: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECFieldFp; 方法or属性:p: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSACommonParamsSpec; 方法or属性:q: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSACommonParamsSpec; 方法or属性:g: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSAPubKeySpec; 方法or属性:params: DSACommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSAKeyPairSpec; 方法or属性:params: DSACommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSAPubKeySpec; 方法or属性:pk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSAKeyPairSpec; 方法or属性:pk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSAPubKeySpec; 方法or属性:pk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSAKeyPairSpec; 方法or属性:pk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:DSAKeyPairSpec; 方法or属性:sk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCPriKeySpec; 方法or属性:sk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCKeyPairSpec; 方法or属性:sk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSAKeyPairSpec; 方法or属性:sk: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECField; 方法or属性:fieldType: string; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Point; 方法or属性:x: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:Point; 方法or属性:y: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:field: ECField; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:a: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:b: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:g: Point; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:n: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSACommonParamsSpec; 方法or属性:n: bigint; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCCommonParamsSpec; 方法or属性:h: number; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCPriKeySpec; 方法or属性:params: ECCCommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCPubKeySpec; 方法or属性:params: ECCCommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCKeyPairSpec; 方法or属性:params: ECCCommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCPubKeySpec; 方法or属性:pk: Point; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:ECCKeyPairSpec; 方法or属性:pk: Point; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSAPubKeySpec; 方法or属性:params: RSACommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:RSAKeyPairSpec; 方法or属性:params: RSACommonParamsSpec; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generatePriKey(callback: AsyncCallback<PriKey>): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generatePriKey(): Promise<PriKey>; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generatePubKey(callback: AsyncCallback<PubKey>): void; |
@ohos.security.cryptoFramework.d.ts |
新增 | NA | 类名:AsyKeyGeneratorBySpec; 方法or属性:generatePubKey(): Promise<PubKey>; |
@ohos.security.cryptoFramework.d.ts |
废弃版本有变化 | 类名:X509Cert; 方法or属性:getSerialNumber(): number; 旧版本信息: |
类名:X509Cert; 方法or属性:getSerialNumber(): number; 新版本信息:10 代替接口: ohos.security.cert.X509Cert.getCertSerialNumber |
@ohos.security.cert.d.ts |
新增(错误码) | 类名:Key; 方法or属性:getEncoded(): DataBlob; 旧版本信息: |
类名:Key; 方法or属性:getEncoded(): DataBlob; 新版本信息:801,17620001,17630001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:cryptoFramework; 方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator; 旧版本信息:401 |
类名:cryptoFramework; 方法or属性:function createAsyKeyGenerator(algName: string): AsyKeyGenerator; 新版本信息:401,801,17620001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:cryptoFramework; 方法or属性:function createCipher(transformation: string): Cipher; 旧版本信息:401,801 |
类名:cryptoFramework; 方法or属性:function createCipher(transformation: string): Cipher; 新版本信息:401,801,17620001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:cryptoFramework; 方法or属性:function createSign(algName: string): Sign; 旧版本信息:401 |
类名:cryptoFramework; 方法or属性:function createSign(algName: string): Sign; 新版本信息:401,801,17620001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:cryptoFramework; 方法or属性:function createVerify(algName: string): Verify; 旧版本信息:401 |
类名:cryptoFramework; 方法or属性:function createVerify(algName: string): Verify; 新版本信息:401,801,17620001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:cryptoFramework; 方法or属性:function createKeyAgreement(algName: string): KeyAgreement; 旧版本信息:401 |
类名:cryptoFramework; 方法or属性:function createKeyAgreement(algName: string): KeyAgreement; 新版本信息:401,801,17620001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:AsyKeyGenerator; 方法or属性:generateKeyPair(callback: AsyncCallback<KeyPair>): void; 旧版本信息:401,17620001 |
类名:AsyKeyGenerator; 方法or属性:generateKeyPair(callback: AsyncCallback<KeyPair>): void; 新版本信息:401,17620001,17630001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:AsyKeyGenerator; 方法or属性:generateKeyPair(): Promise<KeyPair>; 旧版本信息:401,17620001 |
类名:AsyKeyGenerator; 方法or属性:generateKeyPair(): Promise<KeyPair>; 新版本信息:401,17620001,17630001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:AsyKeyGenerator; 方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void; 旧版本信息:401,17620001 |
类名:AsyKeyGenerator; 方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob, callback: AsyncCallback<KeyPair>): void; 新版本信息:401,17620001,17630001 |
@ohos.security.cryptoFramework.d.ts |
错误码有变化 | 类名:AsyKeyGenerator; 方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>; 旧版本信息:401,17620001 |
类名:AsyKeyGenerator; 方法or属性:convertKey(pubKey: DataBlob, priKey: DataBlob): Promise<KeyPair>; 新版本信息:401,17620001,17630001 |
@ohos.security.cryptoFramework.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:tokenId?: number; 旧版本信息:number |
类名:PermissionUsedRequest; 方法or属性:tokenId?: number; 新版本信息:?number |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:isRemote?: boolean; 旧版本信息:boolean |
类名:PermissionUsedRequest; 方法or属性:isRemote?: boolean; 新版本信息:?boolean |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:deviceId?: string; 旧版本信息:string |
类名:PermissionUsedRequest; 方法or属性:deviceId?: string; 新版本信息:?string |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:bundleName?: string; 旧版本信息:string |
类名:PermissionUsedRequest; 方法or属性:bundleName?: string; 新版本信息:?string |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:permissionNames?: Array<Permissions>; 旧版本信息:Array<Permissions> |
类名:PermissionUsedRequest; 方法or属性:permissionNames?: Array<Permissions>; 新版本信息:?Array<Permissions> |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:beginTime?: number; 旧版本信息:number |
类名:PermissionUsedRequest; 方法or属性:beginTime?: number; 新版本信息:?number |
@ohos.privacyManager.d.ts |
type有变化 | 类名:PermissionUsedRequest; 方法or属性:endTime?: number; 旧版本信息:number |
类名:PermissionUsedRequest; 方法or属性:endTime?: number; 新版本信息:?number |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:tokenId: number; |
类名:PermissionUsedRequest; 方法or属性:tokenId?: number; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:isRemote: boolean; |
类名:PermissionUsedRequest; 方法or属性:isRemote?: boolean; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:deviceId: string; |
类名:PermissionUsedRequest; 方法or属性:deviceId?: string; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:bundleName: string; |
类名:PermissionUsedRequest; 方法or属性:bundleName?: string; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:permissionNames: Array<Permissions>; |
类名:PermissionUsedRequest; 方法or属性:permissionNames?: Array<Permissions>; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:beginTime: number; |
类名:PermissionUsedRequest; 方法or属性:beginTime?: number; |
@ohos.privacyManager.d.ts |
函数有变化 | 类名:PermissionUsedRequest; 方法or属性:endTime: number; |
类名:PermissionUsedRequest; 方法or属性:endTime?: number; |
@ohos.privacyManager.d.ts |