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

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

Issue 21016005: WebCrypto: Add more operations to the platform API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Source/modules/crypto/SubtleCrypto.cpp » ('j') | Source/modules/crypto/SubtleCrypto.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/Key.h
diff --git a/Source/modules/crypto/Key.h b/Source/modules/crypto/Key.h
index 839aefef27c3670103cba0b661b656453aa16726..4ea03f9bc0d2857c41dd3c1a9e93c375dfbe957a 100644
--- a/Source/modules/crypto/Key.h
+++ b/Source/modules/crypto/Key.h
@@ -53,6 +53,8 @@ public:
Algorithm* algorithm();
Vector<String> usages() const;
+ const WebKit::WebCryptoKey& key() const { return m_key; }
+
static bool parseFormat(const String&, WebKit::WebCryptoKeyFormat&);
// Parses KeyUsage strings to a WebCryptoKeyUsageMask. If any element is
« no previous file with comments | « no previous file | Source/modules/crypto/SubtleCrypto.cpp » ('j') | Source/modules/crypto/SubtleCrypto.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698