diff options
Diffstat (limited to 'cpp/src/IceSSL/ContextOpenSSLClient.h')
-rw-r--r-- | cpp/src/IceSSL/ContextOpenSSLClient.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/ContextOpenSSLClient.h b/cpp/src/IceSSL/ContextOpenSSLClient.h new file mode 100644 index 00000000000..3965b3f3e4a --- /dev/null +++ b/cpp/src/IceSSL/ContextOpenSSLClient.h @@ -0,0 +1,44 @@ +// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef ICE_SSL_CONTEXT_OPENSSL_CLIENT_H +#define ICE_SSL_CONTEXT_OPENSSL_CLIENT_H + +#include <IceSSL/ContextOpenSSL.h> + +namespace IceSSL +{ + +namespace OpenSSL +{ + +class ClientContext : public Context +{ +public: + + virtual void configure(const IceSSL::GeneralConfig&, + const IceSSL::CertificateAuthority&, + const IceSSL::BaseCertificates&); + + // Takes a socket fd as the first parameter. + virtual IceSSL::ConnectionPtr createConnection(int, const IceSSL::PluginBaseIPtr&); + +protected: + + ClientContext(const IceInternal::InstancePtr&); + + friend class IceSSL::OpenSSL::PluginI; +}; + +} + +} + +#endif |