class Akenti::OpenSSLSecureSocketImpl


Inheritance:


Public Methods

[more] OpenSSLSecureSocketImpl (const SSLContext& ctx)
Constructor - takes a security context, duplicates it and saves it in the new OpenSSLSecureSocketImpl.
[more] ~OpenSSLSecureSocketImpl ()
Destructor - free the SSL structure and destroys this object
[more]SecureSocketImpl* newInstance (const SSLContext& ctx)
Creates a new SecureSocketImpl.
[more]void doConnect ()
Provides the SocketImpl with a secure socket (an SSL structure containing a connected Unix socket) that has been connected to the host and port associated with the SocketImpl.
[more]void doAccept (SecureSocketImpl* impl)


Documentation

o OpenSSLSecureSocketImpl(const SSLContext& ctx)
Constructor - takes a security context, duplicates it and saves it in the new OpenSSLSecureSocketImpl.

Throws:
Error don't recognize the SSLContext
Error allocation failed
Parameters:
- SSLContext& ctx - a security context

o ~OpenSSLSecureSocketImpl()
Destructor - free the SSL structure and destroys this object

oSecureSocketImpl* newInstance(const SSLContext& ctx)
Creates a new SecureSocketImpl. This interface is also defined in the superclass, SecureSocketImpl so that an application can create a new SocketImpl without knowing what kind it has.

Throws:
Error don't recognize the SSLContext
Error allocation failed
Parameters:
- SSLContext& ctx - a security context

ovoid doConnect()
Provides the SocketImpl with a secure socket (an SSL structure containing a connected Unix socket) that has been connected to the host and port associated with the SocketImpl. The IOHandler for the connected fd is kept in the SocketImpl.

Throws:
SecurityException if the connection fails

ovoid doAccept(SecureSocketImpl* impl)

Throws:
SecurityException if the handshake fails


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.