dnspython  1.16.0
About: dnspython is a DNS toolkit (for Python 2.x) that supports almost all record types.
  Fossies Dox: dnspython-1.16.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

dns.rdtypes.ANY.NSEC.NSEC Class Reference
Inheritance diagram for dns.rdtypes.ANY.NSEC.NSEC:
[legend]
Collaboration diagram for dns.rdtypes.ANY.NSEC.NSEC:
[legend]

Public Member Functions

def __init__ (self, rdclass, rdtype, next, windows)
 
def to_text (self, origin=None, relativize=True, **kw)
 
def from_text (cls, rdclass, rdtype, tok, origin=None, relativize=True)
 
def to_wire (self, file, compress=None, origin=None)
 
def from_wire (cls, rdclass, rdtype, wire, current, rdlen, origin=None)
 
def choose_relativity (self, origin=None, relativize=True)
 
- Public Member Functions inherited from dns.rdata.Rdata
def __init__ (self, rdclass, rdtype)
 
def covers (self)
 
def extended_rdatatype (self)
 
def to_digestable (self, origin=None)
 
def validate (self)
 
def __repr__ (self)
 
def __str__ (self)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __ge__ (self, other)
 
def __gt__ (self, other)
 
def __hash__ (self)
 

Public Attributes

 next
 
 windows
 
- Public Attributes inherited from dns.rdata.Rdata
 rdclass
 
 rdtype
 

Static Private Attributes

list __slots__ = ['next', 'windows']
 

Detailed Description

NSEC record

@ivar next: the next name
@type next: dns.name.Name object
@ivar windows: the windowed bitmap list
@type windows: list of (window number, string) tuples

Definition at line 27 of file NSEC.py.

Constructor & Destructor Documentation

◆ __init__()

def dns.rdtypes.ANY.NSEC.NSEC.__init__ (   self,
  rdclass,
  rdtype,
  next,
  windows 
)

Definition at line 38 of file NSEC.py.

Member Function Documentation

◆ choose_relativity()

def dns.rdtypes.ANY.NSEC.NSEC.choose_relativity (   self,
  origin = None,
  relativize = True 
)
Convert any domain names in the rdata to the specified
relativization.

Reimplemented from dns.rdata.Rdata.

Definition at line 127 of file NSEC.py.

References dns.rdtypes.ANY.NSEC.NSEC.next.

Referenced by dns.rdtypes.ANY.NSEC.NSEC.to_text().

◆ from_text()

def dns.rdtypes.ANY.NSEC.NSEC.from_text (   cls,
  rdclass,
  rdtype,
  tok,
  origin = None,
  relativize = True 
)

Reimplemented from dns.rdata.Rdata.

Definition at line 58 of file NSEC.py.

References dns.rdatatype.from_text().

◆ from_wire()

def dns.rdtypes.ANY.NSEC.NSEC.from_wire (   cls,
  rdclass,
  rdtype,
  wire,
  current,
  rdlen,
  origin = None 
)

Reimplemented from dns.rdata.Rdata.

Definition at line 103 of file NSEC.py.

References dns.name.from_wire().

◆ to_text()

def dns.rdtypes.ANY.NSEC.NSEC.to_text (   self,
  origin = None,
  relativize = True,
**  kw 
)

◆ to_wire()

def dns.rdtypes.ANY.NSEC.NSEC.to_wire (   self,
  file,
  compress = None,
  origin = None 
)
Convert an rdata to wire format.

Returns a ``binary``.

Reimplemented from dns.rdata.Rdata.

Definition at line 96 of file NSEC.py.

References dns.rdtypes.ANY.NSEC.NSEC.next, dns.rdtypes.ANY.NSEC.NSEC.windows, and dns.rdtypes.ANY.CSYNC.CSYNC.windows.

Member Data Documentation

◆ __slots__

list dns.rdtypes.ANY.NSEC.NSEC.__slots__ = ['next', 'windows']
staticprivate

Definition at line 36 of file NSEC.py.

◆ next

◆ windows


The documentation for this class was generated from the following file: