Index: crypto/rsa_private_key.h |
diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h |
index 6b9d9d6800a07f6d3add3d3557cce305fba40690..4262a8d66d7dddfeea2463902bd35552243195f5 100644 |
--- a/crypto/rsa_private_key.h |
+++ b/crypto/rsa_private_key.h |
@@ -223,11 +223,14 @@ class CRYPTO_EXPORT RSAPrivateKey { |
CSSM_KEY_PTR public_key() { return &public_key_; } |
#endif |
+ // Creates a copy of the object. |
+ RSAPrivateKey* Copy() const; |
+ |
// Exports the private key to a PKCS #1 PrivateKey block. |
- bool ExportPrivateKey(std::vector<uint8>* output); |
+ bool ExportPrivateKey(std::vector<uint8>* output) const; |
// Exports the public key to an X509 SubjectPublicKeyInfo block. |
- bool ExportPublicKey(std::vector<uint8>* output); |
+ bool ExportPublicKey(std::vector<uint8>* output) const; |
private: |
#if defined(USE_NSS) |