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

Unified Diff: content/renderer/webcrypto/shared_crypto.h

Issue 184043021: [webcrypto] JWK: Updated import(ext, key_ops) and added export of symmetric keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wcAesKw_nss1
Patch Set: Created 6 years, 10 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: content/renderer/webcrypto/shared_crypto.h
diff --git a/content/renderer/webcrypto/shared_crypto.h b/content/renderer/webcrypto/shared_crypto.h
index 54e9a68d1548f5823894c0772faa84ee15ae8b7d..80be43848dee01b2a1209610edea9b1f9748fbf8 100644
--- a/content/renderer/webcrypto/shared_crypto.h
+++ b/content/renderer/webcrypto/shared_crypto.h
@@ -132,6 +132,9 @@ CONTENT_EXPORT Status
blink::WebCryptoKey* key);
CONTENT_EXPORT Status
+ ExportKeyJwk(const blink::WebCryptoKey& key, blink::WebArrayBuffer* buffer);
+
+CONTENT_EXPORT Status
WrapKey(blink::WebCryptoKeyFormat format,
const blink::WebCryptoKey& wrapping_key,
const blink::WebCryptoKey& key_to_wrap,

Powered by Google App Engine
This is Rietveld 408576698