Package flumotion :: Package twisted :: Module credentials :: Class HTTPDigestChallenger
[hide private]

Class HTTPDigestChallenger

source code

extern.log.log.Loggable --+
                          |
                         HTTPDigestChallenger
Known Subclasses:

Instance Methods [hide private]
 
__init__(self, username) source code
 
checkHTTPDigestResponse(self, ha1) source code
 
_calculateHA1(self, ha1, nonce, cnonce)
Calculate H(A1) as from specification (RFC2617) section 3.2.2, given the initial hash H(username:realm:passwd), hex-encoded.
source code
 
_calculateHA2(self, method, uri) source code
 
_calculateRequestDigest(self, username, ha1, nonce, cnonce, method, uri, ncvalue, qop) source code

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  _algorithm = 'MD5'

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

_calculateHA1(self, ha1, nonce, cnonce)

source code 

Calculate H(A1) as from specification (RFC2617) section 3.2.2, given the initial hash H(username:realm:passwd), hex-encoded.

This basically applies the second-level hashing for MD5-sess, if required.