| 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. |
| 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. |
| Function Details |
|---|
hmac_md5(wire, keyname, secret, time, fudge, original_id, error, other_data, request_mac, ctx=None, multi=0, first=1)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=0, first=1)Validate the specified TSIG rdata against the other input parameters.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Sat Aug 2 15:09:35 2003 | http://epydoc.sf.net |