live
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
TLSState Class Reference

#include <TLSState.hh>

Collaboration diagram for TLSState:
Collaboration graph
[legend]

Public Member Functions

 TLSState (class RTSPClient &client)
 
virtual ~TLSState ()
 
int connect (int socketNum)
 
int write (const char *data, unsigned count)
 
int read (u_int8_t *buffer, unsigned bufferSize)
 

Data Fields

Boolean isNeeded
 

Private Member Functions

void reset ()
 
Boolean setup (int socketNum)
 

Private Attributes

class RTSPClientfClient
 
Boolean fHasBeenSetup
 
SSL_CTX * fCtx
 
SSL * fCon
 

Detailed Description

Definition at line 34 of file TLSState.hh.

Constructor & Destructor Documentation

◆ TLSState()

TLSState::TLSState ( class RTSPClient client)

◆ ~TLSState()

virtual TLSState::~TLSState ( )
virtual

Member Function Documentation

◆ connect()

int TLSState::connect ( int  socketNum)

◆ read()

int TLSState::read ( u_int8_t *  buffer,
unsigned  bufferSize 
)

◆ reset()

void TLSState::reset ( )
private

◆ setup()

Boolean TLSState::setup ( int  socketNum)
private

◆ write()

int TLSState::write ( const char *  data,
unsigned  count 
)

Field Documentation

◆ fClient

class RTSPClient& TLSState::fClient
private

Definition at line 52 of file TLSState.hh.

◆ fCon

SSL* TLSState::fCon
private

Definition at line 55 of file TLSState.hh.

◆ fCtx

SSL_CTX* TLSState::fCtx
private

Definition at line 54 of file TLSState.hh.

◆ fHasBeenSetup

Boolean TLSState::fHasBeenSetup
private

Definition at line 53 of file TLSState.hh.

◆ isNeeded

Boolean TLSState::isNeeded

Definition at line 40 of file TLSState.hh.

Referenced by RTSPClient::useTLS().


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