namespace Akenti class SSLContext : public ref_ptr<SSLContextImpl>

A ref_ptr class to wrap a security context

Inheritance:


Public Methods

SSLContext (SSLContextImpl* impl = NULL)
Constructor
~SSLContext ()
Destroys this object
static void setDefaultSSLServerContext (const SSLContext& sc)
Sets a default server security context
static const SSLContext& getDefaultSSLServerContext ()
Returns the default server security context
static void setDefaultSSLClientContext (const SSLContext& cc)
Sets a default client security context
static const SSLContext& getDefaultSSLClientContext ()
Returns the default server security context

Inherited from ref_ptr:

Public Methods

ref_ptr & operator=(const ref_ptr& rhs)
T* operator->() const
operator void*() const
T* get() const

Documentation

A ref_ptr class to wrap a security context. A security context contains the the values that a secure tranport protocol such as TLS needs. It may include such things as the private key and identity certificate of the principal represented, what level of peer certification is required, the required levels of message security, the ciphers supported, and the CA certificates of trusted CA's. The actual context is implmented in a concrete SSLcontext which is a subclass of the SSLContextImpl.
SSLContext(SSLContextImpl* impl = NULL)
Constructor
Parameters:
a - reference to a SSLContextImpl

~SSLContext()
Destroys this object

static void setDefaultSSLServerContext(const SSLContext& sc)
Sets a default server security context

static const SSLContext& getDefaultSSLServerContext()
Returns the default server security context

static void setDefaultSSLClientContext(const SSLContext& cc)
Sets a default client security context

static const SSLContext& getDefaultSSLClientContext()
Returns the default server security context


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
ref_ptr
SSLContextImpl

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de