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, |