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

Unified Diff: public/platform/WebCryptoKey.h

Issue 19885002: WebCrypto: Add interfaces for importKey(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase and rename Interface --> Private 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 | « public/platform/WebCrypto.h ('k') | public/testing/WebTestInterfaces.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « public/platform/WebCrypto.h ('k') | public/testing/WebTestInterfaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698