#include <SipNonceDb.h>

Public Member Functions | |
| SipNonceDb () | |
| virtual | ~SipNonceDb () |
| void | createNewNonce (const UtlString &callId, const UtlString &fromTag, const UtlString &realm, UtlString &nonce) |
| Generate a nonce value based on the current call. | |
| UtlBoolean | isNonceValid (const UtlString &nonce, const UtlString &callId, const UtlString &fromTag, const UtlString &realm, const long expiredTime) |
| Validate that a presented nonce was generated by this system. | |
Private Member Functions | |
| UtlString | nonceSignature (const UtlString &callId, const UtlString &fromTag, const UtlString &realm, const char *timestamp) |
| Generate a signature for a given set of inputs. | |
Private Attributes | |
| SharedSecret * | mpNonceSignatureSecret |
| SipNonceDb | ( | ) |
| ~SipNonceDb | ( | ) | [virtual] |
| void createNewNonce | ( | const UtlString & | callId, | |
| const UtlString & | fromTag, | |||
| const UtlString & | realm, | |||
| UtlString & | nonce | |||
| ) |
Generate a nonce value based on the current call.
| callId | input |
| fromTag | input |
| realm | input |
| nonce | output |
| UtlBoolean isNonceValid | ( | const UtlString & | nonce, | |
| const UtlString & | callId, | |||
| const UtlString & | fromTag, | |||
| const UtlString & | realm, | |||
| const long | expiredTime | |||
| ) |
Validate that a presented nonce was generated by this system.
| UtlString nonceSignature | ( | const UtlString & | callId, | |
| const UtlString & | fromTag, | |||
| const UtlString & | realm, | |||
| const char * | timestamp | |||
| ) | [private] |
Generate a signature for a given set of inputs.
SharedSecret* mpNonceSignatureSecret [private] |