class Akenti::SSLSocket

SSLSocket class - derived from Socket but has a SSLcontext associated with it.

Inheritance:


Public Methods

[more] SSLSocket (SecureSocketImpl* impl = NULL)
Constructs a SSLSocket from a SecureSocketImpl.
[more] SSLSocket (const string& host, int port)
Constructs a client SSLSocket from the Provider default SSLClientContext and default SecureSocketImpl.
[more] SSLSocket (const SSLContext& ctx, const string& host, int port)
Constructs a client SSLSocket from a Server SSLContext and the Provider default SecureSocketImpl.
[more] ~SSLSocket ()
Destroys this object
[more]const SSLContext& getSSLContext ()
Return the security context associated with this socket.


Documentation

SSLSocket class - derived from Socket but has a SSLcontext associated with it. Inherits most of its methods from Socket i.e. setting the host, setting/getting the port, connection and binding.

o SSLSocket(SecureSocketImpl* impl = NULL)
Constructs a SSLSocket from a SecureSocketImpl.

Parameters:
SecureSocketImpl - probably created by the newInstance method of the concrete SecureSocketImpl.

o SSLSocket(const string& host, int port)
Constructs a client SSLSocket from the Provider default SSLClientContext and default SecureSocketImpl.

Parameters:
host - to which the socket will connect.
port - to which the socket will connect.
See Also:
Provider

o SSLSocket(const SSLContext& ctx, const string& host, int port)
Constructs a client SSLSocket from a Server SSLContext and the Provider default SecureSocketImpl.

Throws:
Error if the input SSLcontext is not a client context.
Parameters:
- ctx a client SSLContext
host - host to which the socket will connect.
port - port to which the socket will connect.
See Also:
Provider

o ~SSLSocket()
Destroys this object

oconst SSLContext& getSSLContext()
Return the security context associated with this socket.

Returns:
the SSLContext associated with this socket.


This class has no child classes.
Friends:
class Socket
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
SSLContext
Socket
SecureSocketImpl
Provider

Alphabetic index HTML hierarchy of classes or Java



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