dnspython
1.16.0
About: dnspython is a DNS toolkit (for Python 2.x) that supports almost all record types.
![]() ![]() |
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) |
![]() | |
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 | |
![]() | |
rdclass | |
rdtype | |
Static Private Attributes | |
list | __slots__ = ['algorithm', 'fp_type', 'fingerprint'] |
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
def dns.rdtypes.ANY.SSHFP.SSHFP.__init__ | ( | self, | |
rdclass, | |||
rdtype, | |||
algorithm, | |||
fp_type, | |||
fingerprint | |||
) |
def dns.rdtypes.ANY.SSHFP.SSHFP.from_text | ( | cls, | |
rdclass, | |||
rdtype, | |||
tok, | |||
origin = None , |
|||
relativize = True |
|||
) |
Reimplemented from dns.rdata.Rdata.
def dns.rdtypes.ANY.SSHFP.SSHFP.from_wire | ( | cls, | |
rdclass, | |||
rdtype, | |||
wire, | |||
current, | |||
rdlen, | |||
origin = None |
|||
) |
Reimplemented from dns.rdata.Rdata.
def dns.rdtypes.ANY.SSHFP.SSHFP.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 46 of file SSHFP.py.
References dns.rdata._hexify(), dns.rdtypes.ANY.SSHFP.SSHFP.algorithm, dns.rdtypes.ANY.NSEC3PARAM.NSEC3PARAM.algorithm, dns.rdtypes.ANY.HIP.HIP.algorithm, dns.rdtypes.ANY.NSEC3.NSEC3.algorithm, dns.rdtypes.ANY.CERT.CERT.algorithm, dns.rdtypes.ANY.RRSIG.RRSIG.algorithm, dns.rdtypes.ANY.SSHFP.SSHFP.fingerprint, and dns.rdtypes.ANY.SSHFP.SSHFP.fp_type.
def dns.rdtypes.ANY.SSHFP.SSHFP.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 68 of file SSHFP.py.
References dns.rdtypes.ANY.SSHFP.SSHFP.algorithm, dns.rdtypes.ANY.NSEC3PARAM.NSEC3PARAM.algorithm, dns.rdtypes.ANY.HIP.HIP.algorithm, dns.rdtypes.ANY.NSEC3.NSEC3.algorithm, dns.rdtypes.ANY.CERT.CERT.algorithm, dns.rdtypes.ANY.RRSIG.RRSIG.algorithm, dns.rdtypes.ANY.SSHFP.SSHFP.fingerprint, and dns.rdtypes.ANY.SSHFP.SSHFP.fp_type.
|
staticprivate |
dns.rdtypes.ANY.SSHFP.SSHFP.algorithm |
Definition at line 41 of file SSHFP.py.
Referenced by dns.rdtypes.ANY.SSHFP.SSHFP.to_text(), dns.rdtypes.dsbase.DSBase.to_text(), dns.rdtypes.IN.IPSECKEY.IPSECKEY.to_text(), dns.rdtypes.dnskeybase.DNSKEYBase.to_text(), dns.rdtypes.ANY.SSHFP.SSHFP.to_wire(), dns.rdtypes.dsbase.DSBase.to_wire(), dns.rdtypes.IN.IPSECKEY.IPSECKEY.to_wire(), and dns.rdtypes.dnskeybase.DNSKEYBase.to_wire().
dns.rdtypes.ANY.SSHFP.SSHFP.fingerprint |
Definition at line 43 of file SSHFP.py.
Referenced by dns.rdtypes.ANY.SSHFP.SSHFP.to_text(), and dns.rdtypes.ANY.SSHFP.SSHFP.to_wire().
dns.rdtypes.ANY.SSHFP.SSHFP.fp_type |
Definition at line 42 of file SSHFP.py.
Referenced by dns.rdtypes.ANY.SSHFP.SSHFP.to_text(), and dns.rdtypes.ANY.SSHFP.SSHFP.to_wire().