@@ -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
@@ -3059,8 +3059,8 @@ declare var StorageManager: {
3059
3059
/** 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). */
3060
3060
interface SubtleCrypto {
3061
3061
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 > ;
3064
3064
digest ( algorithm : AlgorithmIdentifier , data : Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer ) : Promise < ArrayBuffer > ;
3065
3065
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 > ;
3066
3066
exportKey ( format : "jwk" , key : CryptoKey ) : Promise < JsonWebKey > ;
0 commit comments