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

Implements the makeNonce function in the same way as the original implementation of makeNonce within Helper.cxx. More...

#include <BasicNonceHelper.hxx>

Inheritance diagram for resip::BasicNonceHelper:
[legend]

Public Member Functions

 BasicNonceHelper ()
 BasicNonceHelper implements the makeNonce function in the same way as the original implementation of makeNonce within Helper.cxx.
 
virtual ~BasicNonceHelper ()
 
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

Implements the makeNonce function in the same way as the original implementation of makeNonce within Helper.cxx.

To operate a farm/cluster of UASs/proxies, you must:

  1. make sure the clocks are sychronized (using ntpd for instance)
  2. use the same privateKey value on every instance of the application

To operate with SER, use the SERNonceHelper instead, as that generates the nonce string the same way as SER. You must also observe the same conditions above regarding clock and key synchronization.

Definition at line 25 of file BasicNonceHelper.hxx.

Constructor & Destructor Documentation

◆ BasicNonceHelper()

BasicNonceHelper::BasicNonceHelper ( )

BasicNonceHelper implements the makeNonce function in the same way as the original implementation of makeNonce within Helper.cxx.

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

To operate with SER, use the SERNonceHelper instead, as that generates the nonce string the same way as SER. You must also observe the same conditions above regarding clock and key synchronization.

Definition at line 25 of file BasicNonceHelper.cxx.

◆ ~BasicNonceHelper()

BasicNonceHelper::~BasicNonceHelper ( )
virtual

Definition at line 31 of file BasicNonceHelper.cxx.

Member Function Documentation

◆ makeNonce()

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

Implements resip::NonceHelper.

Definition at line 42 of file BasicNonceHelper.cxx.

◆ parseNonce()

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

Implements resip::NonceHelper.

Definition at line 59 of file BasicNonceHelper.cxx.

◆ setPrivateKey()

void BasicNonceHelper::setPrivateKey ( const Data &  privateKey)

Definition at line 36 of file BasicNonceHelper.cxx.


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