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

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

Issue 18475002: WebCrypto: Add framework for AlgorithmIdentifier normalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rename verify --> verifySignature (because "verify" is a macro on Mac) Created 7 years, 6 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/crypto/WorkerGlobalScopeCrypto.cpp » ('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 0c2a8e43c39b3c172e9230581b3711da81ae7cff..bba68c6595c19151cfd11fbff1f2ada2a2046fc5 100644
--- a/Source/modules/crypto/SubtleCrypto.idl
+++ b/Source/modules/crypto/SubtleCrypto.idl
@@ -29,6 +29,10 @@
[
NoInterfaceObject,
] interface SubtleCrypto {
- // TODO(eroman): Work in progress: http://crbug.com/245025.
+ [RaisesException] CryptoOperation encrypt(Dictionary algorithm);
+ [RaisesException] CryptoOperation decrypt(Dictionary algorithm);
+ [RaisesException] CryptoOperation sign(Dictionary algorithm);
+ [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm);
+ [RaisesException] CryptoOperation digest(Dictionary algorithm);
};
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.cpp ('k') | Source/modules/crypto/WorkerGlobalScopeCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698