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

#include <SERNonceHelper.hxx>

Inheritance diagram for resip::SERNonceHelper:
[legend]

Public Member Functions

 SERNonceHelper (int serOffset)
 SERNonceHelper implements the makeNonce function in the same way as SIP Express Router (SER) - http://www.iptel.org/ser.
 
virtual ~SERNonceHelper ()
 
void setPrivateKey (const Data &privateKey)
 
Data makeNonce (const SipMessage &request, const Data &timestamp)
 
Nonce parseNonce (const Data &nonce)
 
- Public Member Functions inherited from resip::NonceHelper
virtual ~NonceHelper ()=0
 

Detailed Description

Definition at line 23 of file SERNonceHelper.hxx.

Constructor & Destructor Documentation

◆ SERNonceHelper()

SERNonceHelper::SERNonceHelper ( int  serOffset)

SERNonceHelper implements the makeNonce function in the same way as SIP Express Router (SER) - http://www.iptel.org/ser.

To operate a farm/cluster of UASs/proxies, you must: a) make sure the clocks are sychronized (using ntpd for instance) b) use the same privateKey value on every instance of the application c) call Helper::setNonceHelper(mySERNonceHelper) to over-ride the default implementation of NonceHelper in the reSIProcate stack

Definition at line 24 of file SERNonceHelper.cxx.

◆ ~SERNonceHelper()

SERNonceHelper::~SERNonceHelper ( )
virtual

Definition at line 30 of file SERNonceHelper.cxx.

Member Function Documentation

◆ makeNonce()

Data SERNonceHelper::makeNonce ( const SipMessage &  request,
const Data &  timestamp 
)
virtual

Implements resip::NonceHelper.

Definition at line 41 of file SERNonceHelper.cxx.

◆ parseNonce()

NonceHelper::Nonce SERNonceHelper::parseNonce ( const Data &  nonce)
virtual

Implements resip::NonceHelper.

Definition at line 56 of file SERNonceHelper.cxx.

◆ setPrivateKey()

void SERNonceHelper::setPrivateKey ( const Data &  privateKey)

Definition at line 35 of file SERNonceHelper.cxx.


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