dns :: rdtypes :: nsbase :: UncompressedNS :: Class UncompressedNS |
[hide private]
[frames] | no frames]

# Class UncompressedNS

source code

     object --+
              |
    rdata.Rdata --+
                  |
             NSBase --+
                      |
                     UncompressedNS

Known Subclasses:
  - ANY.DNAME.DNAME
  - , IN.NSAP_PTR.NSAP_PTR

Base class for rdata that is like an NS record, but whose name is not compressed when convert to DNS wire format, and whose digestable form is not downcased.

Instance Methods | [hide private]
to_digestable(self, origin=None) Convert rdata to a format suitable for digesting in hashes. | source code
string |
to_wire(self, file, compress=None, origin=None) Convert an rdata to wire format. | source code
Inherited from `NSBase`: `__init__`, `choose_relativity`, `to_text` Inherited from `NSBase` (private): `_cmp` Inherited from `rdata.Rdata`: `__eq__`, `__ge__`, `__gt__`, `__hash__`, `__le__`, `__lt__`, `__ne__`, `__repr__`, `__str__`, `covers`, `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 `NSBase`: `from_text`, `from_wire`

Instance Variables | [hide private]
Inherited from `NSBase`: `target`

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)

### to_wire(self, file, compress=None, origin=None) | source code
Convert an rdata to wire format. Returns: string Overrides: rdata.Rdata.to_wire (inherited documentation)