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

Unified Diff: content/child/webcrypto/platform_crypto.h

Issue 205913002: [webcrypto] Add JWK RSA public key export for NSS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/platform_crypto.h
diff --git a/content/child/webcrypto/platform_crypto.h b/content/child/webcrypto/platform_crypto.h
index 3f884d60640e91cabac0ee781666af11f45cb319..b26758849cde77742cd80799f30a3c6f81f7c325 100644
--- a/content/child/webcrypto/platform_crypto.h
+++ b/content/child/webcrypto/platform_crypto.h
@@ -177,6 +177,12 @@ Status ExportKeyRaw(SymKey* key, blink::WebArrayBuffer* buffer);
Status ExportKeySpki(PublicKey* key, blink::WebArrayBuffer* buffer);
// Preconditions:
+// * |key| is non-null.
+Status ExportRsaPublicKey(PublicKey* key,
+ blink::WebArrayBuffer* modulus,
eroman 2014/03/21 02:30:51 Please use a "std::vector<uint8>*" as the output t
padolph 2014/03/24 04:24:06 Done.
+ blink::WebArrayBuffer* public_exponent);
+
+// Preconditions:
// * |wrapping_key| is non-null
// * |key| is non-null
Status WrapSymKeyAesKw(SymKey* wrapping_key,

Powered by Google App Engine
This is Rietveld 408576698