Index: Source/modules/crypto/Key.h |
diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h |
index 4ea03f9bc0d2857c41dd3c1a9e93c375dfbe957a..77f3da11161f83111f4a73fc3499061eec2f5318 100644 |
--- a/Source/modules/crypto/Key.h |
+++ b/Source/modules/crypto/Key.h |
@@ -32,6 +32,7 @@ |
#define Key_h |
#include "bindings/v8/ScriptWrappable.h" |
+#include "modules/crypto/NormalizeAlgorithm.h" |
#include "public/platform/WebCryptoKey.h" |
#include "wtf/Forward.h" |
#include "wtf/PassRefPtr.h" |
@@ -55,6 +56,8 @@ public: |
const WebKit::WebCryptoKey& key() const { return m_key; } |
+ bool canBeUsedForAlgorithm(const WebKit::WebCryptoAlgorithm&, AlgorithmOperation, ExceptionState&) const; |
+ |
static bool parseFormat(const String&, WebKit::WebCryptoKeyFormat&); |
// Parses KeyUsage strings to a WebCryptoKeyUsageMask. If any element is |