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

Unified Diff: content/child/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: fixes for eroman, and reverted revert to get original files back after rebase removed them Created 6 years, 9 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/child/webcrypto/shared_crypto.h
diff --git a/content/child/webcrypto/shared_crypto.h b/content/child/webcrypto/shared_crypto.h
index c8fe3be77e1eb9a8778436f1f72ee69d2e9a86de..f668a8a8fcaa724e30c67b40354576da39e266ff 100644
--- a/content/child/webcrypto/shared_crypto.h
+++ b/content/child/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