Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Unified Diff: modules/crypto/SubtleCrypto.idl

Issue 23014006: Roll IDL to multivm@1350 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/crypto/RsaSsaParams.idl ('k') | modules/encoding/TextDecoder.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/crypto/SubtleCrypto.idl
diff --git a/modules/crypto/SubtleCrypto.idl b/modules/crypto/SubtleCrypto.idl
index d8f93f4c00424ce5a2af3aa56835f29660a8cace..b283fe25c2b1e596f4576c6c00769bf455fdeeb0 100644
--- a/modules/crypto/SubtleCrypto.idl
+++ b/modules/crypto/SubtleCrypto.idl
@@ -31,12 +31,13 @@
[
NoInterfaceObject,
] interface SubtleCrypto {
- [RaisesException] CryptoOperation encrypt(Dictionary algorithm);
- [RaisesException] CryptoOperation decrypt(Dictionary algorithm);
- [RaisesException] CryptoOperation sign(Dictionary algorithm);
- [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm);
+ [RaisesException] CryptoOperation encrypt(Dictionary algorithm, Key key);
+ [RaisesException] CryptoOperation decrypt(Dictionary algorithm, Key key);
+ [RaisesException] CryptoOperation sign(Dictionary algorithm, Key key);
+ [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm, Key key, ArrayBufferView signature);
[RaisesException] CryptoOperation digest(Dictionary algorithm);
+ [RaisesException] any generateKey(Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
[RaisesException] any importKey(DOMString format, ArrayBufferView keyData, Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
};
« no previous file with comments | « modules/crypto/RsaSsaParams.idl ('k') | modules/encoding/TextDecoder.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698