diff options
author | Sean Michael Wykes <8363933+SeanWykes@users.noreply.github.com> | 2022-01-11 01:44:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 10:14:47 +0530 |
commit | 91f6c5fc7e6f66f0e963c5cfbec281da4bcfc496 (patch) | |
tree | 299ec26d38c6be74f5980c4b71877c3e974551e5 /ext/crypto/lib.deno_crypto.d.ts | |
parent | 605b8db8f61fc4c0c71d11cde873af18d87c49bf (diff) |
feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey (#13286)
Diffstat (limited to 'ext/crypto/lib.deno_crypto.d.ts')
-rw-r--r-- | ext/crypto/lib.deno_crypto.d.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index 9c7386dc9..f17c1f582 100644 --- a/ext/crypto/lib.deno_crypto.d.ts +++ b/ext/crypto/lib.deno_crypto.d.ts @@ -293,7 +293,11 @@ interface SubtleCrypto { format: KeyFormat, key: CryptoKey, wrappingKey: CryptoKey, - wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams, + wrapAlgorithm: + | AlgorithmIdentifier + | RsaOaepParams + | AesCbcParams + | AesCtrParams, ): Promise<ArrayBuffer>; unwrapKey( format: KeyFormat, @@ -302,12 +306,13 @@ interface SubtleCrypto { unwrapAlgorithm: | AlgorithmIdentifier | RsaOaepParams - | AesCbcParams, + | AesCbcParams + | AesCtrParams, unwrappedKeyAlgorithm: | AlgorithmIdentifier - | RsaHashedImportParams | HmacImportParams - | AesKeyAlgorithm, + | RsaHashedImportParams + | EcImportParams, extractable: boolean, keyUsages: KeyUsage[], ): Promise<CryptoKey>; |