reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
flowmanager::FlowDtlsSocketContext Class Reference

#include <FlowDtlsSocketContext.hxx>

Inheritance diagram for flowmanager::FlowDtlsSocketContext:
[legend]

Public Member Functions

 FlowDtlsSocketContext (Flow &flow, const asio::ip::address &address, unsigned short port)
 
virtual ~FlowDtlsSocketContext ()
 
virtual void write (const unsigned char *data, unsigned int len)
 
virtual void handshakeCompleted ()
 
virtual void handshakeFailed (const char *err)
 
virtual std::shared_ptr< std::mutex > timerLock ()
 
srtp_t * getSrtpSessionIn ()
 
srtp_t * getSrtpSessionOut ()
 
bool isSrtpInitialized ()
 
void checkRemoteFingerprint (const resip::Data &hashFunction, const resip::Data &fingerprint)
 
srtp_err_status_t srtpProtect (void *data, int *size, bool rtcp)
 
srtp_err_status_t srtpUnprotect (void *data, int *size, bool rtcp)
 
- Public Member Functions inherited from dtls::DtlsSocketContext
virtual ~DtlsSocketContext ()
 

Additional Inherited Members

- Protected Attributes inherited from dtls::DtlsSocketContext
DtlsSocket * mSocket
 

Detailed Description

Definition at line 29 of file FlowDtlsSocketContext.hxx.

Constructor & Destructor Documentation

◆ FlowDtlsSocketContext()

FlowDtlsSocketContext::FlowDtlsSocketContext ( Flow &  flow,
const asio::ip::address &  address,
unsigned short  port 
)

Definition at line 24 of file FlowDtlsSocketContext.cxx.

◆ ~FlowDtlsSocketContext()

FlowDtlsSocketContext::~FlowDtlsSocketContext ( )
virtual

Definition at line 29 of file FlowDtlsSocketContext.cxx.

Member Function Documentation

◆ checkRemoteFingerprint()

void FlowDtlsSocketContext::checkRemoteFingerprint ( const resip::Data &  hashFunction,
const resip::Data &  fingerprint 
)

Definition at line 77 of file FlowDtlsSocketContext.cxx.

◆ getSrtpSessionIn()

srtp_t * flowmanager::FlowDtlsSocketContext::getSrtpSessionIn ( )
inline

Definition at line 41 of file FlowDtlsSocketContext.hxx.

◆ getSrtpSessionOut()

srtp_t * flowmanager::FlowDtlsSocketContext::getSrtpSessionOut ( )
inline

Definition at line 42 of file FlowDtlsSocketContext.hxx.

◆ handshakeCompleted()

void FlowDtlsSocketContext::handshakeCompleted ( )
virtual

Implements dtls::DtlsSocketContext.

Definition at line 42 of file FlowDtlsSocketContext.cxx.

◆ handshakeFailed()

void FlowDtlsSocketContext::handshakeFailed ( const char *  err)
virtual

Implements dtls::DtlsSocketContext.

Definition at line 64 of file FlowDtlsSocketContext.cxx.

◆ isSrtpInitialized()

bool flowmanager::FlowDtlsSocketContext::isSrtpInitialized ( )
inline

Definition at line 43 of file FlowDtlsSocketContext.hxx.

◆ srtpProtect()

srtp_err_status_t FlowDtlsSocketContext::srtpProtect ( void *  data,
int *  size,
bool  rtcp 
)

Definition at line 160 of file FlowDtlsSocketContext.cxx.

◆ srtpUnprotect()

srtp_err_status_t FlowDtlsSocketContext::srtpUnprotect ( void *  data,
int *  size,
bool  rtcp 
)

Definition at line 178 of file FlowDtlsSocketContext.cxx.

◆ timerLock()

std::shared_ptr< std::mutex > FlowDtlsSocketContext::timerLock ( )
virtual

Reimplemented from dtls::DtlsSocketContext.

Definition at line 70 of file FlowDtlsSocketContext.cxx.

◆ write()

void FlowDtlsSocketContext::write ( const unsigned char *  data,
unsigned int  len 
)
virtual

Implements dtls::DtlsSocketContext.

Definition at line 35 of file FlowDtlsSocketContext.cxx.


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