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)
 
void assignStateFrom (ServerTLSState const &from)
 
int accept (int socketNum)
 
int write (const char *data, unsigned count)
 
int read (u_int8_t *buffer, unsigned bufferSize)
 
void nullify ()
 

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 77 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)

◆ assignStateFrom()

void ServerTLSState::assignStateFrom ( ServerTLSState const &  from)

◆ initLibrary()

void TLSState::initLibrary ( )
protectedinherited

◆ nullify()

void TLSState::nullify ( )
inherited

◆ 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 95 of file TLSState.hh.

◆ fCon

SSL* TLSState::fCon
protectedinherited

Definition at line 57 of file TLSState.hh.

◆ fCtx

SSL_CTX* TLSState::fCtx
protectedinherited

Definition at line 56 of file TLSState.hh.

◆ fEnv

UsageEnvironment& ServerTLSState::fEnv
private

Definition at line 94 of file TLSState.hh.

◆ fHasBeenSetup

Boolean TLSState::fHasBeenSetup
protectedinherited

Definition at line 55 of file TLSState.hh.

◆ fPrivateKeyFileName

char const* ServerTLSState::fPrivateKeyFileName
private

Definition at line 96 of file TLSState.hh.

◆ isNeeded

Boolean TLSState::isNeeded
inherited

Definition at line 39 of file TLSState.hh.

◆ tlsAcceptIsNeeded

Boolean ServerTLSState::tlsAcceptIsNeeded

Definition at line 87 of file TLSState.hh.


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