diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2021-10-01 15:09:49 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-01 11:39:49 +0200 |
commit | 5065c7bcd9973056b9b0d9df71d139da83596acc (patch) | |
tree | 9188d8d4ea205ced64bce070e631fff0996fd283 /ext/crypto/lib.deno_crypto.d.ts | |
parent | b354eaa2475a16f66e99efc82bebf5bd620406e4 (diff) |
feat(ext/crypto): implement wrapKey (#12125)
Diffstat (limited to 'ext/crypto/lib.deno_crypto.d.ts')
-rw-r--r-- | ext/crypto/lib.deno_crypto.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/crypto/lib.deno_crypto.d.ts b/ext/crypto/lib.deno_crypto.d.ts index 55b94c24d..3dd66d59a 100644 --- a/ext/crypto/lib.deno_crypto.d.ts +++ b/ext/crypto/lib.deno_crypto.d.ts @@ -215,6 +215,12 @@ interface SubtleCrypto { baseKey: CryptoKey, length: number, ): Promise<ArrayBuffer>; + wrapKey( + format: KeyFormat, + key: CryptoKey, + wrappingKey: CryptoKey, + wrapAlgorithm: AlgorithmIdentifier | RsaOaepParams, + ): Promise<ArrayBuffer>; } declare interface Crypto { |