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=False, first=True)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, first=True)Validate the specified TSIG rdata against the other input parameters.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 2 14:38:18 2006 | http://epydoc.sf.net |