Package dns :: Package rdtypes :: Package ANY :: Module SIG :: Class SIG |
[hide private]
[frames] | no frames]

# Class SIG

source code

     object --+
              |
    rdata.Rdata --+
                  |
    sigbase.SIGBase --+
                      |
                     SIG

SIG record

Instance Methods | [hide private]
to_digestable(self, origin=None) Convert rdata to a format suitable for digesting in hashes. | source code
_cmp(self, other) Compare an rdata with another rdata of the same rdtype and rdclass. | source code
Inherited from `sigbase.SIGBase`: `__init__`, `choose_relativity`, `covers`, `to_text`, `to_wire` Inherited from `rdata.Rdata`: `__eq__`, `__ge__`, `__gt__`, `__hash__`, `__le__`, `__lt__`, `__ne__`, `__repr__`, `__str__`, `extended_rdatatype`, `validate` Inherited from `rdata.Rdata` (private): `_wire_cmp` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Class Methods | [hide private]
Inherited from `sigbase.SIGBase`: `from_text`, `from_wire`

Instance Variables | [hide private]
Inherited from `sigbase.SIGBase`: `algorithm`, `expiration`, `inception`, `key_tag`, `labels`, `original_ttl`, `signature`, `signer`, `type_covered`

Properties | [hide private]
Inherited from `rdata.Rdata`: `rdclass`, `rdtype` Inherited from `object`: `__class__`

Method Details | [hide private]

### to_digestable(self, origin=None) | source code
Convert rdata to a format suitable for digesting in hashes. This is also the DNSSEC canonical form. Overrides: rdata.Rdata.to_digestable (inherited documentation)

### _cmp(self, other) | source code
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. Overrides: rdata.Rdata._cmp (inherited documentation)