reSIProcate/stack  9694
Public Member Functions | Protected Member Functions | Protected Attributes
resip::TlsTransport Class Reference

#include <TlsTransport.hxx>

Inheritance diagram for resip::TlsTransport:
Inheritance graph
[legend]
Collaboration diagram for resip::TlsTransport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RESIP_HeapCount (TlsTransport)
 TlsTransport (Fifo< TransactionMessage > &fifo, int portNum, IpVersion version, const Data &interfaceObj, Security &security, const Data &sipDomain, SecurityTypes::SSLType sslType, AfterSocketCreationFuncPtr socketFunc=0, Compression &compression=Compression::Disabled, unsigned transportFlags=0, SecurityTypes::TlsClientVerificationMode cvm=SecurityTypes::None, bool useEmailAsSIP=false)
virtual ~TlsTransport ()
TransportType transport () const
SSL_CTX * getCtx () const
SecurityTypes::TlsClientVerificationMode getClientVerificationMode ()
bool isUseEmailAsSIP ()

Protected Member Functions

ConnectioncreateConnection (const Tuple &who, Socket fd, bool server=false)
 Makes new Connection using provided socket.

Protected Attributes

SecuritymSecurity
SecurityTypes::SSLType mSslType
SSL_CTX * mDomainCtx
SecurityTypes::TlsClientVerificationMode mClientVerificationMode
bool mUseEmailAsSIP

Detailed Description

Definition at line 23 of file TlsTransport.hxx.


Constructor & Destructor Documentation

resip::TlsTransport::TlsTransport ( Fifo< TransactionMessage > &  fifo,
int  portNum,
IpVersion  version,
const Data interfaceObj,
Security security,
const Data sipDomain,
SecurityTypes::SSLType  sslType,
AfterSocketCreationFuncPtr  socketFunc = 0,
Compression compression = Compression::Disabled,
unsigned  transportFlags = 0,
SecurityTypes::TlsClientVerificationMode  cvm = SecurityTypes::None,
bool  useEmailAsSIP = false 
)
virtual resip::TlsTransport::~TlsTransport ( ) [virtual]

Member Function Documentation

Connection* resip::TlsTransport::createConnection ( const Tuple who,
Socket  fd,
bool  server = false 
) [protected, virtual]

Makes new Connection using provided socket.

Implements resip::TcpBaseTransport.

SecurityTypes::TlsClientVerificationMode resip::TlsTransport::getClientVerificationMode ( ) [inline]

Definition at line 44 of file TlsTransport.hxx.

References mClientVerificationMode.

Referenced by resip::TlsConnection::TlsConnection().

SSL_CTX* resip::TlsTransport::getCtx ( ) const
bool resip::TlsTransport::isUseEmailAsSIP ( ) [inline]

Definition at line 46 of file TlsTransport.hxx.

References mUseEmailAsSIP.

Referenced by resip::TlsConnection::computePeerName().

         { return mUseEmailAsSIP; };
resip::TlsTransport::RESIP_HeapCount ( TlsTransport  )
TransportType resip::TlsTransport::transport ( ) const [inline, virtual]
Returns:
This transport's TransportType.

Implements resip::Transport.

Definition at line 41 of file TlsTransport.hxx.

References resip::TLS.

{ return TLS; }

Member Data Documentation

Definition at line 55 of file TlsTransport.hxx.

Referenced by getClientVerificationMode().

SSL_CTX* resip::TlsTransport::mDomainCtx [protected]

Definition at line 54 of file TlsTransport.hxx.

Definition at line 52 of file TlsTransport.hxx.

Definition at line 53 of file TlsTransport.hxx.

Definition at line 59 of file TlsTransport.hxx.

Referenced by isUseEmailAsSIP().


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