Class Md5Sasl

Defined in Md5Sasl.js Author: Harlan Iverson

Constructor Summary
Md5Sasl(username, password, domain)
            Computes challenge response for md5 auth.
 
Method Summary
_computeResponse(isCheck)
           According to JSJaC's impl, this is exacly the same except having AUTHENTICATE before the outgoing challenge, and not in the incoming response.
_generateCnonce()
           undocumented
checkResponse(challenge)
           Returns true if the server sent back the response that it should have, false otherwise.
computeChallengeResponse(challenge)
           undocumented
decodeChallenge(challenge)
           undocumented
deserializeFields(fieldsStr)
           Deserializes a="b",cd=ef,ghi="jkl", but will choke if a comma is quoted.
encodeResponse(response)
           undocumented
reset()
           undocumented
serializeFields(fields)
           undocumented
 
Constructor Detail

Md5Sasl

Md5Sasl(username, password, domain)

Method Detail

_computeResponse

_computeResponse(isCheck)

_generateCnonce

_generateCnonce()

checkResponse

checkResponse(challenge)

computeChallengeResponse

computeChallengeResponse(challenge)

decodeChallenge

decodeChallenge(challenge)

deserializeFields

deserializeFields(fieldsStr)

encodeResponse

encodeResponse(response)

reset

reset()

serializeFields

serializeFields(fields)

Documentation generated by JsDoc Toolkit 1.4.1 on Tue Aug 26 2008 14:35:54 GMT-0500 (CDT)