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

Public Member Functions

def __init__ (self, rdclass, rdtype, algorithm, fp_type, fingerprint)
 
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

 algorithm
 
 fp_type
 
 fingerprint
 
- Public Attributes inherited from dns.rdata.Rdata
 rdclass
 
 rdtype
 

Static Private Attributes

list __slots__ = ['algorithm', 'fp_type', 'fingerprint']
 

Detailed Description

SSHFP record

@ivar algorithm: the algorithm
@type algorithm: int
@ivar fp_type: the digest type
@type fp_type: int
@ivar fingerprint: the fingerprint
@type fingerprint: string
@see: draft-ietf-secsh-dns-05.txt

Definition at line 25 of file SSHFP.py.

Constructor & Destructor Documentation

◆ __init__()

def dns.rdtypes.ANY.SSHFP.SSHFP.__init__ (   self,
  rdclass,
  rdtype,
  algorithm,
  fp_type,
  fingerprint 
)

Definition at line 39 of file SSHFP.py.

Member Function Documentation

◆ from_text()

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

Reimplemented from dns.rdata.Rdata.

Definition at line 53 of file SSHFP.py.

◆ from_wire()

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

Reimplemented from dns.rdata.Rdata.

Definition at line 74 of file SSHFP.py.

◆ to_text()

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

◆ to_wire()

def dns.rdtypes.ANY.SSHFP.SSHFP.to_wire (   self,
  file,
  compress = None,
  origin = None 
)

Member Data Documentation

◆ __slots__

list dns.rdtypes.ANY.SSHFP.SSHFP.__slots__ = ['algorithm', 'fp_type', 'fingerprint']
staticprivate

Definition at line 37 of file SSHFP.py.

◆ algorithm

◆ fingerprint

dns.rdtypes.ANY.SSHFP.SSHFP.fingerprint

◆ fp_type

dns.rdtypes.ANY.SSHFP.SSHFP.fp_type

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