#include <sippdu.h>
Public Types | |
| enum | Algorithm { Algorithm_MD5, NumAlgorithms } |
Public Member Functions | |
| SIPAuthentication (const PString &username=PString::Empty(), const PString &password=PString::Empty()) | |
| SIPAuthentication & | operator= (const SIPAuthentication &auth) |
| BOOL | Parse (const PCaselessString &auth, BOOL proxy) |
| BOOL | IsValid () const |
| BOOL | Authorise (SIP_PDU &pdu) const |
| BOOL | IsProxy () const |
| const PString & | GetAuthRealm () const |
| const PString & | GetUsername () const |
| const PString & | GetPassword () const |
| const PString & | GetNonce () const |
| Algorithm | GetAlgorithm () const |
| const PString & | GetOpaque () const |
| void | SetUsername (const PString &user) |
| void | SetPassword (const PString &pass) |
| void | SetAuthRealm (const PString &r) |
Protected Attributes | |
| BOOL | isProxy |
| PString | authRealm |
| PString | username |
| PString | password |
| PString | nonce |
| Algorithm | algorithm |
| PString | opaque |
| BOOL | qopAuth |
| BOOL | qopAuthInt |
| PString | cnonce |
| PAtomicInteger | nonceCount |
| SIPAuthentication::SIPAuthentication | ( | const PString & | username = PString::Empty(), |
|
| const PString & | password = PString::Empty() | |||
| ) |
| SIPAuthentication& SIPAuthentication::operator= | ( | const SIPAuthentication & | auth | ) | [inline] |
| BOOL SIPAuthentication::Parse | ( | const PCaselessString & | auth, | |
| BOOL | proxy | |||
| ) |
| BOOL SIPAuthentication::IsValid | ( | ) | const |
| BOOL SIPAuthentication::Authorise | ( | SIP_PDU & | pdu | ) | const |
| BOOL SIPAuthentication::IsProxy | ( | ) | const [inline] |
| const PString& SIPAuthentication::GetAuthRealm | ( | ) | const [inline] |
| const PString& SIPAuthentication::GetUsername | ( | ) | const [inline] |
| const PString& SIPAuthentication::GetPassword | ( | ) | const [inline] |
| const PString& SIPAuthentication::GetNonce | ( | ) | const [inline] |
| Algorithm SIPAuthentication::GetAlgorithm | ( | ) | const [inline] |
| const PString& SIPAuthentication::GetOpaque | ( | ) | const [inline] |
| void SIPAuthentication::SetUsername | ( | const PString & | user | ) | [inline] |
| void SIPAuthentication::SetPassword | ( | const PString & | pass | ) | [inline] |
| void SIPAuthentication::SetAuthRealm | ( | const PString & | r | ) | [inline] |
BOOL SIPAuthentication::isProxy [protected] |
PString SIPAuthentication::authRealm [protected] |
PString SIPAuthentication::username [protected] |
PString SIPAuthentication::password [protected] |
PString SIPAuthentication::nonce [protected] |
Algorithm SIPAuthentication::algorithm [protected] |
PString SIPAuthentication::opaque [protected] |
BOOL SIPAuthentication::qopAuth [protected] |
BOOL SIPAuthentication::qopAuthInt [protected] |
PString SIPAuthentication::cnonce [protected] |
PAtomicInteger SIPAuthentication::nonceCount [mutable, protected] |
1.5.1