summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/ClientContext.h
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/ClientContext.h
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/ClientContext.h')
-rw-r--r--cpp/src/IceSSL/ClientContext.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/ClientContext.h b/cpp/src/IceSSL/ClientContext.h
new file mode 100644
index 00000000000..5be3b3be6bc
--- /dev/null
+++ b/cpp/src/IceSSL/ClientContext.h
@@ -0,0 +1,39 @@
+// **********************************************************************
+//
+// Copyright (c) 2002
+// Mutable Realms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#ifndef ICESSL_CLIENT_CONTEXT_H
+#define ICESSL_CLIENT_CONTEXT_H
+
+#include <IceSSL/Context.h>
+
+namespace IceSSL
+{
+
+class ClientContext : public Context
+{
+public:
+
+ virtual void configure(const GeneralConfig&,
+ const CertificateAuthority&,
+ const BaseCertificates&);
+
+ // Takes a socket fd as the first parameter.
+ virtual SslTransceiverPtr createTransceiver(int, const OpenSSLPluginIPtr&);
+
+protected:
+
+ ClientContext(const TraceLevelsPtr&, const Ice::LoggerPtr&, const Ice::PropertiesPtr&);
+
+ friend class OpenSSLPluginI;
+};
+
+}
+
+#endif