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

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

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file common.js Created 7 years, 5 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/CryptoOperation.cpp ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/SubtleCrypto.h
diff --git a/Source/modules/crypto/SubtleCrypto.h b/Source/modules/crypto/SubtleCrypto.h
index 9964bdae774e429fc7f31bc8f1d35e4b14fd7e2a..fc4005efbd17bbed6625ddca1c753ef8e6fdf81d 100644
--- a/Source/modules/crypto/SubtleCrypto.h
+++ b/Source/modules/crypto/SubtleCrypto.h
@@ -52,7 +52,7 @@ public:
PassRefPtr<CryptoOperation> decrypt(const Dictionary&, Key*, ExceptionState&);
PassRefPtr<CryptoOperation> sign(const Dictionary&, Key*, ExceptionState&);
// Note that this is not named "verify" because when compiling on Mac that expands to a macro and breaks.
- PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, Key*, ExceptionState&);
+ PassRefPtr<CryptoOperation> verifySignature(const Dictionary&, Key*, ArrayBufferView* signature, ExceptionState&);
PassRefPtr<CryptoOperation> digest(const Dictionary&, ExceptionState&);
ScriptObject importKey(const String&, ArrayBufferView*, const Dictionary&, bool extractable, const Vector<String>& keyUsages, ExceptionState&);
« no previous file with comments | « Source/modules/crypto/CryptoOperation.cpp ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698