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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.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
Index: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
index 187d7965e54d2dd6471eef3b174e031a66a98414..1ebc4216e7337088b1664188b6eb010f3e3f85d3 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.h
@@ -43,6 +43,7 @@ public:
virtual void encrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void decrypt(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void sign(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, WebKit::WebCryptoOperationResult&) OVERRIDE;
+ virtual void verifySignature(const WebKit::WebCryptoAlgorithm&, const WebKit::WebCryptoKey&, const unsigned char*, size_t, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void digest(const WebKit::WebCryptoAlgorithm&, WebKit::WebCryptoOperationResult&) OVERRIDE;
virtual void importKey(WebKit::WebCryptoKeyFormat, const unsigned char* keyData, size_t keyDataSize, const WebKit::WebCryptoAlgorithm&, bool extractable, WebKit::WebCryptoKeyUsageMask, WebKit::WebCryptoKeyOperationResult&) OVERRIDE;
};
« no previous file with comments | « Source/modules/crypto/SubtleCrypto.idl ('k') | Tools/DumpRenderTree/chromium/TestRunner/src/MockWebCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698