live
Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
ServerTLSState Class Reference

#include <TLSState.hh>

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

Public Member Functions

 ServerTLSState (UsageEnvironment &env)
 
virtual ~ServerTLSState ()
 
void setCertificateAndPrivateKeyFileNames (char const *certFileName, char const *privKeyFileName)
 
int accept (int socketNum)
 
int write (const char *data, unsigned count)
 
int read (u_int8_t *buffer, unsigned bufferSize)
 

Data Fields

Boolean tlsAcceptIsNeeded
 
Boolean isNeeded
 

Protected Member Functions

void initLibrary ()
 
void reset ()
 

Protected Attributes

Boolean fHasBeenSetup
 
SSL_CTX * fCtx
 
SSL * fCon
 

Private Member Functions

Boolean setup (int socketNum)
 

Private Attributes

UsageEnvironmentfEnv
 
char const * fCertificateFileName
 
char const * fPrivateKeyFileName
 

Detailed Description

Definition at line 75 of file TLSState.hh.

Constructor & Destructor Documentation

◆ ServerTLSState()

ServerTLSState::ServerTLSState ( UsageEnvironment env)

◆ ~ServerTLSState()

virtual ServerTLSState::~ServerTLSState ( )
virtual

Member Function Documentation

◆ accept()

int ServerTLSState::accept ( int  socketNum)

◆ initLibrary()

void TLSState::initLibrary ( )
protectedinherited

◆ read()

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

◆ reset()

void TLSState::reset ( )
protectedinherited

◆ setCertificateAndPrivateKeyFileNames()

void ServerTLSState::setCertificateAndPrivateKeyFileNames ( char const *  certFileName,
char const *  privKeyFileName 
)

◆ setup()

Boolean ServerTLSState::setup ( int  socketNum)
private

◆ write()

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

Field Documentation

◆ fCertificateFileName

char const* ServerTLSState::fCertificateFileName
private

Definition at line 92 of file TLSState.hh.

◆ fCon

SSL* TLSState::fCon
protectedinherited

Definition at line 55 of file TLSState.hh.

◆ fCtx

SSL_CTX* TLSState::fCtx
protectedinherited

Definition at line 54 of file TLSState.hh.

◆ fEnv

UsageEnvironment& ServerTLSState::fEnv
private

Definition at line 91 of file TLSState.hh.

◆ fHasBeenSetup

Boolean TLSState::fHasBeenSetup
protectedinherited

Definition at line 53 of file TLSState.hh.

◆ fPrivateKeyFileName

char const* ServerTLSState::fPrivateKeyFileName
private

Definition at line 93 of file TLSState.hh.

◆ isNeeded

Boolean TLSState::isNeeded
inherited

Definition at line 39 of file TLSState.hh.

Referenced by RTSPClient::useTLS().

◆ tlsAcceptIsNeeded

Boolean ServerTLSState::tlsAcceptIsNeeded

Definition at line 84 of file TLSState.hh.


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