diff options
author | Daniel Adams <70986246+msub2@users.noreply.github.com> | 2024-11-18 12:54:58 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 22:54:58 +0000 |
commit | 124c5bbbf3b2bbcaecedfa275ad22005806940c2 (patch) | |
tree | a1e11613f7b9bdfc530b687f059ad75a800d86cc /components/script/dom/webidls | |
parent | 8c689aac677064fa50a4cb061be7b582cb9c9db0 (diff) | |
download | servo-124c5bbbf3b2bbcaecedfa275ad22005806940c2.tar.gz servo-124c5bbbf3b2bbcaecedfa275ad22005806940c2.zip |
crypto: Support key wrap operations + AES-KW (#34262)
* Support key wrapping operations + AES-KW
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Update expectations
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* tidy
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Add allow for clippy
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Add missing spec links
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Improve JWK handling
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* Fix clippy warnings
Signed-off-by: Daniel Adams <msub2official@gmail.com>
* ./mach fmt
Signed-off-by: Daniel Adams <msub2official@gmail.com>
---------
Signed-off-by: Daniel Adams <msub2official@gmail.com>
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r-- | components/script/dom/webidls/SubtleCrypto.webidl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/components/script/dom/webidls/SubtleCrypto.webidl b/components/script/dom/webidls/SubtleCrypto.webidl index 6bd19254885..f966bf11b91 100644 --- a/components/script/dom/webidls/SubtleCrypto.webidl +++ b/components/script/dom/webidls/SubtleCrypto.webidl @@ -55,17 +55,17 @@ interface SubtleCrypto { sequence<KeyUsage> keyUsages ); Promise<any> exportKey(KeyFormat format, CryptoKey key); - // Promise<any> wrapKey(KeyFormat format, - // CryptoKey key, - // CryptoKey wrappingKey, - // AlgorithmIdentifier wrapAlgorithm); - // Promise<CryptoKey> unwrapKey(KeyFormat format, - // BufferSource wrappedKey, - // CryptoKey unwrappingKey, - // AlgorithmIdentifier unwrapAlgorithm, - // AlgorithmIdentifier unwrappedKeyAlgorithm, - // boolean extractable, - // sequence<KeyUsage> keyUsages ); + Promise<any> wrapKey(KeyFormat format, + CryptoKey key, + CryptoKey wrappingKey, + AlgorithmIdentifier wrapAlgorithm); + Promise<CryptoKey> unwrapKey(KeyFormat format, + BufferSource wrappedKey, + CryptoKey unwrappingKey, + AlgorithmIdentifier unwrapAlgorithm, + AlgorithmIdentifier unwrappedKeyAlgorithm, + boolean extractable, + sequence<KeyUsage> keyUsages ); }; // AES shared |