summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/RSAPrivateKey.cpp
diff options
context:
space:
mode:
authorAnthony Neal <aneal@zeroc.com>2002-09-13 10:36:31 +0000
committerAnthony Neal <aneal@zeroc.com>2002-09-13 10:36:31 +0000
commitaacdab0bfc03b9e1e3aa3b58223359d7858aced9 (patch)
tree1841c95649f16a5131629f6ea5f23637ad6ef54b /cpp/src/IceSSL/RSAPrivateKey.cpp
parentfixes (diff)
downloadice-aacdab0bfc03b9e1e3aa3b58223359d7858aced9.tar.bz2
ice-aacdab0bfc03b9e1e3aa3b58223359d7858aced9.tar.xz
ice-aacdab0bfc03b9e1e3aa3b58223359d7858aced9.zip
Cleanup of IceSSL, removal of OpenSSL namespace.
Diffstat (limited to 'cpp/src/IceSSL/RSAPrivateKey.cpp')
-rw-r--r--cpp/src/IceSSL/RSAPrivateKey.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/IceSSL/RSAPrivateKey.cpp b/cpp/src/IceSSL/RSAPrivateKey.cpp
index a3a5f0f98f0..c2058031e1f 100644
--- a/cpp/src/IceSSL/RSAPrivateKey.cpp
+++ b/cpp/src/IceSSL/RSAPrivateKey.cpp
@@ -16,15 +16,15 @@
#include <IceSSL/Exception.h>
#include <assert.h>
-void ::IceInternal::incRef(::IceSSL::OpenSSL::RSAPrivateKey* p) { p->__incRef(); }
-void ::IceInternal::decRef(::IceSSL::OpenSSL::RSAPrivateKey* p) { p->__decRef(); }
+void ::IceInternal::incRef(::IceSSL::RSAPrivateKey* p) { p->__incRef(); }
+void ::IceInternal::decRef(::IceSSL::RSAPrivateKey* p) { p->__decRef(); }
using std::back_inserter;
using std::string;
using Ice::ByteSeq;
using IceUtil::Base64;
-IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(const string& key)
+IceSSL::RSAPrivateKey::RSAPrivateKey(const string& key)
{
assert(!key.empty());
@@ -35,7 +35,7 @@ IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(const string& key)
byteSeqToKey(keySeq);
}
-IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(const ByteSeq& keySeq)
+IceSSL::RSAPrivateKey::RSAPrivateKey(const ByteSeq& keySeq)
{
assert(!keySeq.empty());
@@ -44,13 +44,13 @@ IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(const ByteSeq& keySeq)
byteSeqToKey(keySeq);
}
-IceSSL::OpenSSL::RSAPrivateKey::RSAPrivateKey(RSA* rsa) :
+IceSSL::RSAPrivateKey::RSAPrivateKey(RSA* rsa) :
_privateKey(rsa)
{
assert(_privateKey != 0);
}
-IceSSL::OpenSSL::RSAPrivateKey::~RSAPrivateKey()
+IceSSL::RSAPrivateKey::~RSAPrivateKey()
{
if(_privateKey != 0)
{
@@ -59,7 +59,7 @@ IceSSL::OpenSSL::RSAPrivateKey::~RSAPrivateKey()
}
void
-IceSSL::OpenSSL::RSAPrivateKey::keyToBase64(string& b64Key)
+IceSSL::RSAPrivateKey::keyToBase64(string& b64Key)
{
ByteSeq keySeq;
keyToByteSeq(keySeq);
@@ -67,7 +67,7 @@ IceSSL::OpenSSL::RSAPrivateKey::keyToBase64(string& b64Key)
}
void
-IceSSL::OpenSSL::RSAPrivateKey::keyToByteSeq(ByteSeq& keySeq)
+IceSSL::RSAPrivateKey::keyToByteSeq(ByteSeq& keySeq)
{
assert(_privateKey);
@@ -89,13 +89,13 @@ IceSSL::OpenSSL::RSAPrivateKey::keyToByteSeq(ByteSeq& keySeq)
}
RSA*
-IceSSL::OpenSSL::RSAPrivateKey::get() const
+IceSSL::RSAPrivateKey::get() const
{
return _privateKey;
}
void
-IceSSL::OpenSSL::RSAPrivateKey::byteSeqToKey(const ByteSeq& keySeq)
+IceSSL::RSAPrivateKey::byteSeqToKey(const ByteSeq& keySeq)
{
unsigned char* privateKeyBuffer = byteSeqToUChar(keySeq);
assert(privateKeyBuffer != 0);