@@ -194,6 +194,12 @@ interface GetNotificationOptions {
194194 tag ?: string ;
195195}
196196
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+
197203interface HmacImportParams extends Algorithm {
198204 hash : HashAlgorithmIdentifier ;
199205 length ?: number ;
@@ -1654,12 +1660,6 @@ declare var Headers: {
16541660 new ( init ?: HeadersInit ) : Headers ;
16551661} ;
16561662
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-
16631663interface IDBArrayKey extends Array < IDBValidKey > {
16641664}
16651665
@@ -3059,8 +3059,8 @@ declare var StorageManager: {
30593059/** 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). */
30603060interface SubtleCrypto {
30613061 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 > ;
3062- deriveBits ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , baseKey : CryptoKey , length : number ) : Promise < ArrayBuffer > ;
3063- deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfCtrParams | Pbkdf2Params , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
3062+ deriveBits ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , length : number ) : Promise < ArrayBuffer > ;
3063+ deriveKey ( algorithm : AlgorithmIdentifier | EcdhKeyDeriveParams | DhKeyDeriveParams | ConcatParams | HkdfParams | Pbkdf2Params , baseKey : CryptoKey , derivedKeyType : string | AesDerivedKeyParams | HmacImportParams | ConcatParams | HkdfParams | Pbkdf2Params , extractable : boolean , keyUsages : KeyUsage [ ] ) : Promise < CryptoKey > ;
30643064 digest ( algorithm : AlgorithmIdentifier , data : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ) : Promise < ArrayBuffer > ;
30653065 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 > ;
30663066 exportKey ( format : "jwk" , key : CryptoKey ) : Promise < JsonWebKey > ;
0 commit comments