Index: content/child/webcrypto/platform_crypto.h |
diff --git a/content/child/webcrypto/platform_crypto.h b/content/child/webcrypto/platform_crypto.h |
index 8c28e3f02b9058427f474f89f38b8ae6a4f8e72e..dac3aba38305f475e9fa52aea5870a1fd84ef480 100644 |
--- a/content/child/webcrypto/platform_crypto.h |
+++ b/content/child/webcrypto/platform_crypto.h |
@@ -5,6 +5,7 @@ |
#ifndef CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ |
#define CONTENT_CHILD_WEBCRYPTO_PLATFORM_CRYPTO_H_ |
+#include <vector> |
#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
#include "third_party/WebKit/public/platform/WebArrayBuffer.h" |
@@ -178,6 +179,12 @@ Status ExportKeySpki(PublicKey* key, blink::WebArrayBuffer* buffer); |
// Preconditions: |
// * |key| is non-null. |
+Status ExportRsaPublicKey(PublicKey* key, |
+ std::vector<uint8>* modulus, |
+ std::vector<uint8>* public_exponent); |
+ |
+// Preconditions: |
+// * |key| is non-null. |
Status ExportKeyPkcs8(PrivateKey* key, |
const blink::WebCryptoKeyAlgorithm& key_algorithm, |
blink::WebArrayBuffer* buffer); |