summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/RSAPrivateKey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/RSAPrivateKey.cpp')
-rw-r--r--cpp/src/Ice/RSAPrivateKey.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/Ice/RSAPrivateKey.cpp b/cpp/src/Ice/RSAPrivateKey.cpp
index fb266301b2b..f91d1cd4d94 100644
--- a/cpp/src/Ice/RSAPrivateKey.cpp
+++ b/cpp/src/Ice/RSAPrivateKey.cpp
@@ -44,6 +44,12 @@ IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(const ByteSeq& keySeq)
byteSeqToKey(keySeq);
}
+IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(RSA* rsa) :
+ _privateKey(rsa)
+{
+ assert(_privateKey != 0);
+}
+
IceSSL::OpenSSL::RSAPrivateKey::~RSAPrivateKey()
{
if (_privateKey != 0)
@@ -83,17 +89,11 @@ IceSSL::OpenSSL::RSAPrivateKey::keyToByteSeq(ByteSeq& keySeq)
}
RSA*
-IceSSL::OpenSSL::RSAPrivateKey::getRSAPrivateKey() const
+IceSSL::OpenSSL::RSAPrivateKey::get() const
{
return _privateKey;
}
-IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(RSA* rsa) :
- _privateKey(rsa)
-{
- assert(_privateKey != 0);
-}
-
void
IceSSL::OpenSSL::RSAPrivateKey::byteSeqToKey(const ByteSeq& keySeq)
{