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

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

Issue 62633004: [webcrypto] Add RSA public key SPKI import/export for NSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes for eroman Created 7 years, 1 month 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/webcrypto_impl.h
diff --git a/content/renderer/webcrypto/webcrypto_impl.h b/content/renderer/webcrypto/webcrypto_impl.h
index 87c611a4309f8f54a15a5c7668a4571394fdbfce..4e5e9ea18cbe3d547c0af816a129687a12ddaec0 100644
--- a/content/renderer/webcrypto/webcrypto_impl.h
+++ b/content/renderer/webcrypto/webcrypto_impl.h
@@ -47,6 +47,10 @@ class CONTENT_EXPORT WebCryptoImpl
bool extractable,
WebKit::WebCryptoKeyUsageMask usage_mask,
WebKit::WebCryptoResult result);
+ virtual void exportKey(
+ WebKit::WebCryptoKeyFormat format,
+ const WebKit::WebCryptoKey& key,
+ WebKit::WebCryptoResult result);
virtual void sign(
const WebKit::WebCryptoAlgorithm& algorithm,
const WebKit::WebCryptoKey& key,
@@ -105,6 +109,10 @@ class CONTENT_EXPORT WebCryptoImpl
bool extractable,
WebKit::WebCryptoKeyUsageMask usage_mask,
WebKit::WebCryptoKey* key);
+ bool ExportKeyInternal(
+ WebKit::WebCryptoKeyFormat format,
+ const WebKit::WebCryptoKey& key,
+ WebKit::WebArrayBuffer* buffer);
bool SignInternal(
const WebKit::WebCryptoAlgorithm& algorithm,
const WebKit::WebCryptoKey& key,
« no previous file with comments | « no previous file | content/renderer/webcrypto/webcrypto_impl.cc » ('j') | content/renderer/webcrypto/webcrypto_impl_nss.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698