mirror of
https://github.com/denoland/deno.git
synced 2025-08-10 05:48:06 +00:00
fix(ext/crypto): exportKey() for HMAC (#11737)
Fixes typings and innerKey processing (WPT doesn't test exportKey for HMAC so this wasn't caught earlier).
This commit is contained in:
parent
c67f6c13cd
commit
af97535b7c
3 changed files with 8 additions and 3 deletions
1
ext/crypto/lib.deno_crypto.d.ts
vendored
1
ext/crypto/lib.deno_crypto.d.ts
vendored
|
@ -107,6 +107,7 @@ interface SubtleCrypto {
|
|||
extractable: boolean,
|
||||
keyUsages: KeyUsage[],
|
||||
): Promise<CryptoKey>;
|
||||
exportKey(format: "raw", key: CryptoKey): Promise<ArrayBuffer>;
|
||||
sign(
|
||||
algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams,
|
||||
key: CryptoKey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue