Home | Trees | Index | Help |
|
---|
Package dns :: Package rdtypes :: Package ANY :: Module SIG :: Class SIG |
|
object
--+ |Rdata
--+ | SIG
See also: RFC 2535
Method Summary | |
---|---|
__init__(self,
rdclass,
rdtype,
type_covered,
algorithm,
labels,
original_ttl,
expiration,
inception,
key_tag,
signer,
signature)
| |
__eq__(self,
other)
(inherited from Rdata )
| |
__ge__(self,
other)
(inherited from Rdata )
| |
__getstate__(...)
| |
__gt__(self,
other)
(inherited from Rdata )
| |
__le__(self,
other)
(inherited from Rdata )
| |
__lt__(self,
other)
(inherited from Rdata )
| |
__ne__(self,
other)
(inherited from Rdata )
| |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Rdata )
| |
__str__(self)
(inherited from Rdata )
| |
Convert any domain names in the rdata to the specified relativization. | |
int |
DNS SIG rdatas apply to a specific type; this type is returned by the covers() function. |
int |
Return a 32-bit type value, the least significant 16 bits of which are the ordinary DNS type, and the upper 16 bits of which are the "covered" type, if any. (inherited from Rdata )
|
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Compare an rdata with another rdata of the same rdtype and rdclass. |
Instance Variable Summary | |
---|---|
algorithm
- the algorithm used for the sig | |
expiration
- signature expiration time | |
inception
- signature inception time | |
key_tag
- the key tag | |
labels
- number of labels | |
original_ttl
- the original TTL | |
signature
- the signature | |
signer
- the signer | |
type_covered
- the rdata type this signature covers |
Class Variable Summary | |
---|---|
list |
__slots__
|
int | algorithm
|
long | expiration
|
classmethod |
from_text
|
classmethod |
from_wire
|
long | inception
|
int | key_tag
|
int | labels
|
long | original_ttl
|
string | signature
|
dns.name.Name object | signer
|
int | type_covered
|
Method Details |
---|
__new__(S, ...)
|
choose_relativity(self, origin=None, relativize=1)Convert any domain names in the rdata to the specified relativization.
|
covers(self)DNS SIG rdatas apply to a specific type; this type is returned by the covers() function. If the rdata type is not SIG, dns.rdatatype.NONE is returned. This is useful when creating rdatasets, allowing the rdataset to contain only SIGs of a particular type, e.g. SIG(NS).
|
to_text(self, origin=None, relativize=1, **kw)Convert an rdata to text format.
|
to_wire(self, file, compress=None, origin=None)Convert an rdata to wire format.
|
_cmp(self, other)Compare an rdata with another rdata of the same rdtype and rdclass. Return < 0 if self < other in the DNSSEC ordering, 0 if self == other, and > 0 if self > other.
|
Instance Variable Details |
---|
algorithmthe algorithm used for the sig |
expirationsignature expiration time |
inceptionsignature inception time |
key_tagthe key tag |
labelsnumber of labels |
original_ttlthe original TTL |
signaturethe signature |
signerthe signer |
type_coveredthe rdata type this signature covers |
Class Variable Details |
---|
__slots__
|
algorithm
|
expiration
|
from_text
|
from_wire
|
inception
|
key_tag
|
labels
|
original_ttl
|
signature
|
signer
|
type_covered
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Sat Sep 6 01:38:35 2003 | http://epydoc.sf.net |