diff options
Diffstat (limited to 'ext/crypto/lib.deno_crypto.d.ts')
-rw-r--r-- | ext/crypto/lib.deno_crypto.d.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index f7d735721..9c7386dc9 100644 --- a/ext/crypto/lib.deno_crypto.d.ts +++ b/ext/crypto/lib.deno_crypto.d.ts @@ -62,6 +62,12 @@ interface AesCbcParams extends Algorithm { iv: BufferSource; } +interface AesGcmParams extends Algorithm { + iv: BufferSource; + additionalData?: BufferSource; + tagLength?: number; +} + interface AesCtrParams extends Algorithm { counter: BufferSource; length: number; @@ -248,6 +254,7 @@ interface SubtleCrypto { | AlgorithmIdentifier | RsaOaepParams | AesCbcParams + | AesGcmParams | AesCtrParams, key: CryptoKey, data: BufferSource, |