Home | Trees | Index | Help |
|
---|
|
DIGEST-MD5 authentication mechanism for PyXMPP SASL implementation.
Classes | |
---|---|
DigestMD5ClientAuthenticator |
Provides PLAIN SASL authentication for a client. |
DigestMD5ServerAuthenticator |
Provides DIGEST-MD5 SASL authentication for a server. |
Function Summary | |
---|---|
str |
Compute DIGEST-MD5 response value. |
str |
Compute DIGEST-MD5 rspauth value. |
str |
H function of the DIGEST-MD5 algorithm (MD5 sum). |
str |
KD function of the DIGEST-MD5 algorithm. |
str |
Compute MD5 sum of username:realm:password. |
str |
Prepare a string for quoting for DIGEST-MD5 challenge or response. |
str |
Unquote quoted value from DIGEST-MD5 challenge or response. |
Variable Summary | |
---|---|
str |
__revision__ = '$Id: digest_md5.py 559 2005-03-20 18:01:...
|
SRE_Pattern |
quote_re = (?!\\)\\(.)
|
SRE_Pattern |
_param_re = ^([^=]+)=(("(([^"\\]+)|(\\")|(\\\\))+")|([^"...
|
logging
,
md5
,
re
Challenge
,
ClientAuthenticator
,
Failure
,
Response
,
ServerAuthenticator
,
Success
b2a_hex
,
from_utf8
,
to_utf8
Function Details |
---|
_compute_response(urp_hash, nonce, cnonce, nonce_count, authzid, digest_uri)Compute DIGEST-MD5 response value.
|
_compute_response_auth(urp_hash, nonce, cnonce, nonce_count, authzid, digest_uri)Compute DIGEST-MD5 rspauth value.
|
_h_value(s)H function of the DIGEST-MD5 algorithm (MD5 sum).
|
_kd_value(k, s)KD function of the DIGEST-MD5 algorithm.
|
_make_urp_hash(username, realm, passwd)Compute MD5 sum of username:realm:password.
|
_quote(s)Prepare a string for quoting for DIGEST-MD5 challenge or response. Don't add the quotes, only escape '"' and "" with backslashes.
|
_unquote(s)Unquote quoted value from DIGEST-MD5 challenge or response. If
|
Variable Details |
---|
__revision__
|
quote_re
|
_param_re
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Dec 26 17:57:37 2005 | http://epydoc.sf.net |