@@ -194,6 +194,12 @@ interface GetNotificationOptions {
194
194
tag ?: string ;
195
195
}
196
196
197
+ interface HkdfParams extends Algorithm {
198
+ hash : HashAlgorithmIdentifier ;
199
+ info : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ;
200
+ salt : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ;
201
+ }
202
+
197
203
interface HmacImportParams extends Algorithm {
198
204
hash : HashAlgorithmIdentifier ;
199
205
length ?: number ;
@@ -1654,12 +1660,6 @@ declare var Headers: {
1654
1660
new ( init ?: HeadersInit ) : Headers ;
1655
1661
} ;
1656
1662
1657
- interface HkdfCtrParams extends Algorithm {
1658
- context : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ;
1659
- hash : string | Algorithm ;
1660
- label : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ;
1661
- }
1662
-
1663
1663
interface IDBArrayKey extends Array < IDBValidKey > {
1664
1664
}
1665
1665
@@ -3034,8 +3034,8 @@ declare var StorageManager: {
3034
3034
/** This Web Crypto API interface provides a number of low-level cryptographic functions. It is accessed via the Crypto.subtle properties available in a window context (via Window.crypto). */
3035
3035
interface SubtleCrypto {
3036
3036
decrypt ( algorithm : AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams , key : CryptoKey , data : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ) : Promise < ArrayBuffer > ;
3037
- deriveBits ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , baseKey : CryptoKey , length : number ) : Promise < ArrayBuffer > ;
3038
- deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
3037
+ deriveBits ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , length : number ) : Promise < ArrayBuffer > ;
3038
+ deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfParams | Pbkdf2Params , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
3039
3039
digest ( algorithm : AlgorithmIdentifier , data : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ) : Promise < ArrayBuffer > ;
3040
3040
encrypt ( algorithm : AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesCmacParams | AesGcmParams | AesCfbParams , key : CryptoKey , data : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ) : Promise < ArrayBuffer > ;
3041
3041
exportKey ( format : "jwk" , key : CryptoKey ) : Promise < JsonWebKey > ;
0 commit comments