@@ -11483,9 +11483,9 @@ interface SubtleCrypto {
11483
11483
generateKey(algorithm: string, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair | CryptoKey>;
11484
11484
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams | DhKeyGenParams, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKeyPair>;
11485
11485
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: string[]): PromiseLike<CryptoKey>;
11486
- importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier , extractable:boolean, keyUsages: string[]): PromiseLike<ArrayBuffer >;
11487
- importKey(format: "raw" | "pkcs8" | "spki", keyData: BufferSource, algorithm: AlgorithmIdentifier , extractable:boolean, keyUsages: string[]): PromiseLike<ArrayBuffer >;
11488
- importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: AlgorithmIdentifier , extractable:boolean, keyUsages: string[]): PromiseLike<ArrayBuffer >;
11486
+ importKey(format: "jwk", keyData: JsonWebKey, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams , extractable:boolean, keyUsages: string[]): PromiseLike<CryptoKey >;
11487
+ importKey(format: "raw" | "pkcs8" | "spki", keyData: BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams , extractable:boolean, keyUsages: string[]): PromiseLike<CryptoKey >;
11488
+ importKey(format: string, keyData: JsonWebKey | BufferSource, algorithm: string | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | DhImportKeyParams , extractable:boolean, keyUsages: string[]): PromiseLike<CryptoKey >;
11489
11489
sign(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, data: BufferSource): PromiseLike<ArrayBuffer>;
11490
11490
unwrapKey(format: string, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier, unwrappedKeyAlgorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: string[]): PromiseLike<ArrayBuffer>;
11491
11491
verify(algorithm: string | RsaPssParams | EcdsaParams | AesCmacParams, key: CryptoKey, signature: BufferSource, data: BufferSource): PromiseLike<boolean>;
0 commit comments