VMime
TLSSecuredConnectionInfos Class Reference
Inheritance diagram for TLSSecuredConnectionInfos:
Collaboration diagram for TLSSecuredConnectionInfos:

Public Member Functions

 TLSSecuredConnectionInfos (const string &host, const port_t port, shared_ptr< TLSSession > tlsSession, shared_ptr< TLSSocket > tlsSocket)
 
const string getHost () const
 
port_t getPort () const
 
shared_ptr< const
security::cert::certificateChain
getPeerCertificates () const
 

Additional Inherited Members

- Protected Member Functions inherited from object
 object ()
 
 object (const object &)
 
objectoperator= (const object &)
 
virtual ~object ()
 

Detailed Description

Information about a TLS-secured connection used by a service.

Constructor & Destructor Documentation

TLSSecuredConnectionInfos ( const string host,
const port_t  port,
shared_ptr< TLSSession tlsSession,
shared_ptr< TLSSocket tlsSocket 
)

Member Function Documentation

const string getHost ( ) const
virtual

Return the host to which the service is connected.

Returns
server host name or address

Implements connectionInfos.

shared_ptr< const security::cert::certificateChain > getPeerCertificates ( ) const

Return the peer's certificate (chain) as sent by the peer.

Returns
server certificate chain
port_t getPort ( ) const
virtual

Return the port to which the service is connected.

Returns
server port

Implements connectionInfos.


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