| Home | Trees | Index | Help |
|
|---|
| Package DNS :: Module tsig |
|
| Exceptions | |
|---|---|
BadSignature |
Raised if the TSIG signature fails to verify. |
BadTime |
Raised if the current time is not within the TSIG's validity time. |
FormErr |
Raised if a packet has invalid form. |
| Function Summary | |
|---|---|
| (string, string, hmac.HMAC object) |
Return a (tsig_rdata, mac, ctx) tuple containing the HMAC-MD5 TSIG rdata for the input parameters, the HMAC-MD5 MAC calculated by applying the TSIG signature algorithm, and the TSIG digest context. |
| hmac.HMAC object |
Validate the specified TSIG rdata against the other input parameters. |
| Variable Summary | |
|---|---|
str |
_alg_name
|
| Function Details |
|---|
hmac_md5(wire, keyname, secret, time, fudge, original_id, error, other_data, request_mac, ctx=None, multi=False)Return a (tsig_rdata, mac, ctx) tuple containing the HMAC-MD5 TSIG rdata for the input parameters, the HMAC-MD5 MAC calculated by applying the TSIG signature algorithm, and the TSIG digest context.
|
validate(wire, keyname, secret, now, request_mac, tsig_start, tsig_rdata, tsig_rdlen, ctx=None, multi=False)Validate the specified TSIG rdata against the other input parameters.
|
| Variable Details |
|---|
_alg_name
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Tue Jun 17 03:55:15 2003 | http://epydoc.sf.net |