TLSSession Class Reference

Describe a TLS connection between a client and a server. More...

Inheritance diagram for TLSSession:
Inheritance graph
[legend]
Collaboration diagram for TLSSession:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~TLSSession ()
 TLSSession (ref< security::cert::certificateVerifier > cv)
ref< TLSSocketgetSocket (ref< socket > sok)
ref
< security::cert::certificateVerifier
getCertificateVerifier ()

Detailed Description

Describe a TLS connection between a client and a server.


Constructor & Destructor Documentation

~TLSSession (  ) 

Create and initialize a new TLS session.

Parameters:
cv object responsible for verifying certificates sent by the server
Returns:
a new TLS session

Member Function Documentation

ref< security::cert::certificateVerifier > getCertificateVerifier (  ) 

Get the object responsible for verifying certificates when using secured connections (TLS/SSL).

ref< TLSSocket > getSocket ( ref< socket sok  ) 

Create a new socket that adds a TLS security layer around an existing socket.

You should create only one socket per session.

Parameters:
sok socket to wrap
Returns:
TLS socket wrapper

The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2