SIPAuthentication Class Reference

#include <sippdu.h>

List of all members.

Public Types

enum  Algorithm { Algorithm_MD5, NumAlgorithms }

Public Member Functions

 SIPAuthentication (const PString &username=PString::Empty(), const PString &password=PString::Empty())
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
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


Member Enumeration Documentation

enum SIPAuthentication::Algorithm
 

Enumerator:
Algorithm_MD5 
NumAlgorithms 


Constructor & Destructor Documentation

SIPAuthentication::SIPAuthentication const PString &  username = PString::Empty(),
const PString &  password = PString::Empty()
 


Member Function Documentation

BOOL SIPAuthentication::Authorise SIP_PDU pdu  )  const
 

Algorithm SIPAuthentication::GetAlgorithm  )  const [inline]
 

const PString& SIPAuthentication::GetAuthRealm  )  const [inline]
 

const PString& SIPAuthentication::GetNonce  )  const [inline]
 

const PString& SIPAuthentication::GetPassword  )  const [inline]
 

const PString& SIPAuthentication::GetUsername  )  const [inline]
 

BOOL SIPAuthentication::IsProxy  )  const [inline]
 

BOOL SIPAuthentication::IsValid  )  const
 

BOOL SIPAuthentication::Parse const PCaselessString &  auth,
BOOL  proxy
 

void SIPAuthentication::SetAuthRealm const PString &  r  )  [inline]
 

void SIPAuthentication::SetPassword const PString &  pass  )  [inline]
 

void SIPAuthentication::SetUsername const PString &  user  )  [inline]
 


Member Data Documentation

Algorithm SIPAuthentication::algorithm [protected]
 

PString SIPAuthentication::authRealm [protected]
 

BOOL SIPAuthentication::isProxy [protected]
 

PString SIPAuthentication::nonce [protected]
 

PString SIPAuthentication::password [protected]
 

PString SIPAuthentication::username [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Mar 14 22:43:42 2006 for OPAL by  doxygen 1.4.6