|
PTLib Version 2.10.2
|
#include <http.h>
Public Types | |
| enum | Algorithm { Algorithm_MD5, NumAlgorithms } |
Public Member Functions | |
| PHTTPClientDigestAuthentication () | |
| PHTTPClientDigestAuthentication & | operator= (const PHTTPClientDigestAuthentication &auth) |
| virtual Comparison | Compare (const PObject &other) const |
| Compare the two objects and return their relative rank. | |
| virtual PBoolean | Parse (const PString &auth, PBoolean proxy) |
| virtual PBoolean | Authorise (AuthObject &pdu) const |
| virtual PString | GetAuthRealm () const |
| virtual void | SetAuthRealm (const PString &r) |
| const PString & | GetNonce () const |
| Algorithm | GetAlgorithm () const |
| const PString & | GetOpaque () const |
| bool | GetStale () const |
Protected Attributes | |
| PString | authRealm |
| PString | nonce |
| Algorithm | algorithm |
| PString | opaque |
| bool | qopAuth |
| bool | qopAuthInt |
| bool | stale |
| PString | cnonce |
| PAtomicInteger | nonceCount |
| PHTTPClientDigestAuthentication::PHTTPClientDigestAuthentication | ( | ) |
| virtual PBoolean PHTTPClientDigestAuthentication::Authorise | ( | AuthObject & | pdu | ) | const [virtual] |
Implements PHTTPClientAuthentication.
| virtual Comparison PHTTPClientDigestAuthentication::Compare | ( | const PObject & | obj | ) | const [virtual] |
Compare the two objects and return their relative rank.
This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect() function to do a byte wise memory comparison of the two objects.
LessThan, EqualTo or GreaterThan according to the relative rank of the objects. Reimplemented from PHTTPClientAuthentication.
| virtual PString PHTTPClientDigestAuthentication::GetAuthRealm | ( | ) | const [inline, virtual] |
Reimplemented from PHTTPClientAuthentication.
References authRealm.
| bool PHTTPClientDigestAuthentication::GetStale | ( | ) | const [inline] |
References stale.
| PHTTPClientDigestAuthentication& PHTTPClientDigestAuthentication::operator= | ( | const PHTTPClientDigestAuthentication & | auth | ) |
| virtual PBoolean PHTTPClientDigestAuthentication::Parse | ( | const PString & | auth, |
| PBoolean | proxy | ||
| ) | [virtual] |
Implements PHTTPClientAuthentication.
| virtual void PHTTPClientDigestAuthentication::SetAuthRealm | ( | const PString & | r | ) | [inline, virtual] |
Reimplemented from PHTTPClientAuthentication.
References authRealm.
Algorithm PHTTPClientDigestAuthentication::algorithm [protected] |
Referenced by GetAlgorithm().
PString PHTTPClientDigestAuthentication::authRealm [protected] |
Referenced by GetAuthRealm(), and SetAuthRealm().
PString PHTTPClientDigestAuthentication::cnonce [protected] |
PString PHTTPClientDigestAuthentication::nonce [protected] |
Referenced by GetNonce().
PAtomicInteger PHTTPClientDigestAuthentication::nonceCount [mutable, protected] |
PString PHTTPClientDigestAuthentication::opaque [protected] |
Referenced by GetOpaque().
bool PHTTPClientDigestAuthentication::qopAuth [protected] |
bool PHTTPClientDigestAuthentication::qopAuthInt [protected] |
bool PHTTPClientDigestAuthentication::stale [protected] |
Referenced by GetStale().