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

Unified Diff: Source/modules/crypto/SubtleCrypto.idl

Issue 23164012: WebCrypto: Remove support for multi-part operations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Sync to tot 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 | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/SubtleCrypto.idl
diff --git a/Source/modules/crypto/SubtleCrypto.idl b/Source/modules/crypto/SubtleCrypto.idl
index 9a632e55804ae223e08718cc2f55186992d3704b..9237c6ab6a9441069ebe06fa1121f0a428e8a70a 100644
--- a/Source/modules/crypto/SubtleCrypto.idl
+++ b/Source/modules/crypto/SubtleCrypto.idl
@@ -34,11 +34,11 @@ typedef any PromiseValue;
[
NoInterfaceObject,
] interface SubtleCrypto {
- [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] PromiseValue encrypt(Dictionary algorithm, Key key, ArrayBufferView data);
+ [RaisesException] PromiseValue decrypt(Dictionary algorithm, Key key, ArrayBufferView data);
+ [RaisesException] PromiseValue sign(Dictionary algorithm, Key key, ArrayBufferView data);
+ [RaisesException, ImplementedAs=verifySignature] PromiseValue verify(Dictionary algorithm, Key key, ArrayBufferView signature, ArrayBufferView data);
+ [RaisesException] PromiseValue digest(Dictionary algorithm, ArrayBufferView data);
[RaisesException] PromiseValue generateKey(Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
[RaisesException] PromiseValue importKey(DOMString format, ArrayBufferView keyData, Dictionary algorithm, boolean extractable, DOMString[] keyUsages);
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698