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

Unified Diff: public/platform/WebCryptoKey.h

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move test stuff into MockWebCrypto 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: public/platform/WebCryptoKey.h
diff --git a/public/platform/WebCryptoKey.h b/public/platform/WebCryptoKey.h
index 94f437c801ed57c884ef612567a71b33a94740cb..7441b2cd692bc297d0b99172f0844afdf2135f5a 100644
--- a/public/platform/WebCryptoKey.h
+++ b/public/platform/WebCryptoKey.h
@@ -58,6 +58,13 @@ enum WebCryptoKeyUsage {
// A bitfield of WebCryptoKeyUsage
typedef int WebCryptoKeyUsageMask;
+enum WebCryptoKeyFormat {
+ WebCryptoKeyFormatRaw,
+ WebCryptoKeyFormatPkcs8,
+ WebCryptoKeyFormatSpki,
+ WebCryptoKeyFormatJwk,
+};
+
class WebCryptoAlgorithm;
class WebCryptoKeyPrivate;
class WebCryptoKeyHandle;

Powered by Google App Engine
This is Rietveld 408576698