summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/RSAKeyPair.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/RSAKeyPair.h')
-rw-r--r--cpp/include/Ice/RSAKeyPair.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/include/Ice/RSAKeyPair.h b/cpp/include/Ice/RSAKeyPair.h
index 0faabf548e4..d43af212790 100644
--- a/cpp/include/Ice/RSAKeyPair.h
+++ b/cpp/include/Ice/RSAKeyPair.h
@@ -40,36 +40,36 @@ namespace OpenSSL
class ICE_API RSAKeyPair : public IceUtil::Shared
{
-
public:
- // Construction from Base64 encodings
+
+ // Construction from Base64 encodings.
RSAKeyPair(const std::string&, const std::string&);
- // Construction from ByteSeq
+ // Construction from binary DER encoding ByteSeq's.
RSAKeyPair(const Ice::ByteSeq&, const Ice::ByteSeq&);
~RSAKeyPair();
- // Conversions to Base64 encodings
+ // Conversions to Base64 encodings.
void keyToBase64(std::string&);
void certToBase64(std::string&);
- // Conversions to ByteSequences
+ // Conversions to binary DER encodings.
void keyToByteSeq(Ice::ByteSeq&);
void certToByteSeq(Ice::ByteSeq&);
- // Get the key structures
+ // Get the internal key structures as per the OpenSSL implementation.
RSA* getRSAPrivateKey() const;
X509* getX509PublicKey() const;
private:
+
RSAKeyPair(const RSAPrivateKeyPtr&, const RSAPublicKeyPtr&);
friend class RSACertificateGen;
RSAPrivateKeyPtr _privateKey;
RSAPublicKeyPtr _publicKey;
-
};
}