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.dnskeybase Namespace Reference

Classes

class  DNSKEYBase
 

Functions

def flags_to_text_set (flags)
 
def flags_from_text_set (texts_set)
 

Variables

list __all__
 
int SEP = 0x0001
 
int REVOKE = 0x0080
 
int ZONE = 0x0100
 
dictionary _flag_by_text
 
dictionary _flag_by_value = {y: x for x, y in _flag_by_text.items()}
 

Function Documentation

◆ flags_from_text_set()

def dns.rdtypes.dnskeybase.flags_from_text_set (   texts_set)
Convert set of DNSKEY flag mnemonic texts to DNSKEY flag value
@rtype: int

Definition at line 62 of file dnskeybase.py.

◆ flags_to_text_set()

def dns.rdtypes.dnskeybase.flags_to_text_set (   flags)
Convert a DNSKEY flags value to set texts
@rtype: set([string])

Definition at line 46 of file dnskeybase.py.

Variable Documentation

◆ __all__

list dns.rdtypes.dnskeybase.__all__
private
Initial value:
1 = ["SEP", "REVOKE", "ZONE",
2  "flags_to_text_set", "flags_from_text_set"]

Definition at line 26 of file dnskeybase.py.

◆ _flag_by_text

dictionary dns.rdtypes.dnskeybase._flag_by_text
private
Initial value:
1 = {
2  'SEP': SEP,
3  'REVOKE': REVOKE,
4  'ZONE': ZONE
5 }

Definition at line 34 of file dnskeybase.py.

◆ _flag_by_value

dictionary dns.rdtypes.dnskeybase._flag_by_value = {y: x for x, y in _flag_by_text.items()}
private

Definition at line 43 of file dnskeybase.py.

◆ REVOKE

int dns.rdtypes.dnskeybase.REVOKE = 0x0080

Definition at line 31 of file dnskeybase.py.

◆ SEP

int dns.rdtypes.dnskeybase.SEP = 0x0001

Definition at line 30 of file dnskeybase.py.

◆ ZONE

int dns.rdtypes.dnskeybase.ZONE = 0x0100

Definition at line 32 of file dnskeybase.py.