#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) |
PBoolean | Parse (const PCaselessString &auth, PBoolean proxy) |
PBoolean | IsValid () const |
PBoolean | Authorise (SIP_PDU &pdu) const |
PBoolean | 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 | |
PBoolean | isProxy |
PString | authRealm |
PString | username |
PString | password |
PString | nonce |
Algorithm | algorithm |
PString | opaque |
PBoolean | qopAuth |
PBoolean | qopAuthInt |
PString | cnonce |
PAtomicInteger | nonceCount |
SIPAuthentication::SIPAuthentication | ( | const PString & | username = PString::Empty() , |
|
const PString & | password = PString::Empty() | |||
) |
SIPAuthentication& SIPAuthentication::operator= | ( | const SIPAuthentication & | auth | ) | [inline] |
PBoolean SIPAuthentication::Parse | ( | const PCaselessString & | auth, | |
PBoolean | proxy | |||
) |
PBoolean SIPAuthentication::IsValid | ( | ) | const |
PBoolean SIPAuthentication::Authorise | ( | SIP_PDU & | pdu | ) | const |
PBoolean 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] |
PBoolean 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] |
PBoolean SIPAuthentication::qopAuth [protected] |
PBoolean SIPAuthentication::qopAuthInt [protected] |
PString SIPAuthentication::cnonce [protected] |
PAtomicInteger SIPAuthentication::nonceCount [mutable, protected] |