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.CAA.CAA Class Reference
Inheritance diagram for dns.rdtypes.ANY.CAA.CAA:
[legend]
Collaboration diagram for dns.rdtypes.ANY.CAA.CAA:
[legend]

Public Member Functions

def __init__ (self, rdclass, rdtype, flags, tag, value)
 
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)
 
- 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)
 
def choose_relativity (self, origin=None, relativize=True)
 

Public Attributes

 flags
 
 tag
 
 value
 
- Public Attributes inherited from dns.rdata.Rdata
 rdclass
 
 rdtype
 

Static Private Attributes

list __slots__ = ['flags', 'tag', 'value']
 

Detailed Description

CAA (Certification Authority Authorization) record

@ivar flags: the flags
@type flags: int
@ivar tag: the tag
@type tag: string
@ivar value: the value
@type value: string
@see: RFC 6844

Definition at line 25 of file CAA.py.

Constructor & Destructor Documentation

◆ __init__()

def dns.rdtypes.ANY.CAA.CAA.__init__ (   self,
  rdclass,
  rdtype,
  flags,
  tag,
  value 
)

Definition at line 39 of file CAA.py.

Member Function Documentation

◆ from_text()

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

Reimplemented from dns.rdata.Rdata.

Definition at line 51 of file CAA.py.

◆ from_wire()

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

Reimplemented from dns.rdata.Rdata.

Definition at line 70 of file CAA.py.

◆ to_text()

def dns.rdtypes.ANY.CAA.CAA.to_text (   self,
  origin = None,
  relativize = True,
**  kw 
)
Convert an rdata to text format.

Returns a ``text``.

Reimplemented from dns.rdata.Rdata.

Definition at line 45 of file CAA.py.

References dns.rdata._escapify(), dns.rdtypes.ANY.CAA.CAA.flags, dns.message.Message.flags, dns.rdtypes.ANY.CAA.CAA.tag, and dns.rdtypes.ANY.CAA.CAA.value.

◆ to_wire()

def dns.rdtypes.ANY.CAA.CAA.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 61 of file CAA.py.

References dns.rdtypes.ANY.CAA.CAA.flags, dns.message.Message.flags, dns.rdtypes.ANY.CAA.CAA.tag, and dns.rdtypes.ANY.CAA.CAA.value.

Member Data Documentation

◆ __slots__

list dns.rdtypes.ANY.CAA.CAA.__slots__ = ['flags', 'tag', 'value']
staticprivate

Definition at line 37 of file CAA.py.

◆ flags

◆ tag

dns.rdtypes.ANY.CAA.CAA.tag

Definition at line 42 of file CAA.py.

Referenced by dns.rdtypes.ANY.CAA.CAA.to_text(), and dns.rdtypes.ANY.CAA.CAA.to_wire().

◆ value


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