VMime
|
Public Member Functions | |
virtual shared_ptr< TLSSocket > | getSocket (shared_ptr< socket > sok)=0 |
virtual shared_ptr < security::cert::certificateVerifier > | getCertificateVerifier ()=0 |
Static Public Member Functions | |
static shared_ptr< TLSSession > | create (shared_ptr< security::cert::certificateVerifier > cv, shared_ptr< TLSProperties > props) |
Protected Member Functions | |
TLSSession () | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Describe a TLS connection between a client and a server.
|
protected |
|
static |
Create and initialize a new TLS session.
cv | object responsible for verifying certificates sent by the server |
props | TLS properties for this session |
Referenced by POP3Connection::connect(), and SMTPConnection::connect().
|
pure virtual |
Get the object responsible for verifying certificates when using secured connections (TLS/SSL).
Create a new socket that adds a TLS security layer around an existing socket.
You should create only one socket per session.
sok | socket to wrap |