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

Unified Diff: crypto/rsa_private_key.h

Issue 8727014: Implement RSAPrivateKey::Copy() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 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
« no previous file with comments | « no previous file | crypto/rsa_private_key_mac.cc » ('j') | crypto/rsa_private_key_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/rsa_private_key.h
diff --git a/crypto/rsa_private_key.h b/crypto/rsa_private_key.h
index 6b9d9d6800a07f6d3add3d3557cce305fba40690..b15846b29ca6b0e465ba9ec900bd207ccd156536 100644
--- a/crypto/rsa_private_key.h
+++ b/crypto/rsa_private_key.h
@@ -223,6 +223,9 @@ 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);
« no previous file with comments | « no previous file | crypto/rsa_private_key_mac.cc » ('j') | crypto/rsa_private_key_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698