mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -05:00
fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types (#15005)
This commit is contained in:
parent
6bddc4c757
commit
eac136e607
1 changed files with 5 additions and 1 deletions
6
ext/crypto/lib.deno_crypto.d.ts
vendored
6
ext/crypto/lib.deno_crypto.d.ts
vendored
|
@ -275,7 +275,11 @@ interface SubtleCrypto {
|
||||||
length: number,
|
length: number,
|
||||||
): Promise<ArrayBuffer>;
|
): Promise<ArrayBuffer>;
|
||||||
deriveKey(
|
deriveKey(
|
||||||
algorithm: AlgorithmIdentifier | HkdfParams | Pbkdf2Params,
|
algorithm:
|
||||||
|
| AlgorithmIdentifier
|
||||||
|
| HkdfParams
|
||||||
|
| Pbkdf2Params
|
||||||
|
| EcdhKeyDeriveParams,
|
||||||
baseKey: CryptoKey,
|
baseKey: CryptoKey,
|
||||||
derivedKeyType:
|
derivedKeyType:
|
||||||
| AlgorithmIdentifier
|
| AlgorithmIdentifier
|
||||||
|
|
Loading…
Reference in a new issue