Package dns :: Module dnssec
[show private | hide private]
[frames | no frames]

Module dns.dnssec

Common DNSSEC-related functions and constants.
Exceptions
UnknownAlgorithm Raised if an algorithm is unknown.

Function Summary
int algorithm_from_text(text)
Convert text into a DNSSEC algorithm value
string algorithm_to_text(value)
Convert a DNSSEC algorithm value to text

Variable Summary
int DH = 2                                                                     
int DSA = 3                                                                     
int ECC = 4                                                                     
int INDIRECT = 252                                                                   
int PRIVATEDNS = 253                                                                   
int PRIVATEOID = 254                                                                   
int RSAMD5 = 1                                                                     
dict _algorithm_by_text = {'RSAMD5': 1, 'PRIVATEDNS': 253, 'E...
dict _algorithm_by_value = {1: 'RSAMD5', 2: 'DH', 3: 'DSA', 4...

Function Details

algorithm_from_text(text)

Convert text into a DNSSEC algorithm value
Returns:
int

algorithm_to_text(value)

Convert a DNSSEC algorithm value to text
Returns:
string

Variable Details

DH

Type:
int
Value:
2                                                                     

DSA

Type:
int
Value:
3                                                                     

ECC

Type:
int
Value:
4                                                                     

INDIRECT

Type:
int
Value:
252                                                                   

PRIVATEDNS

Type:
int
Value:
253                                                                   

PRIVATEOID

Type:
int
Value:
254                                                                   

RSAMD5

Type:
int
Value:
1                                                                     

_algorithm_by_text

Type:
dict
Value:
{'DH': 2,
 'DSA': 3,
 'ECC': 4,
 'INDIRECT': 252,
 'PRIVATEDNS': 253,
 'PRIVATEOID': 254,
 'RSAMD5': 1}                                                          

_algorithm_by_value

Type:
dict
Value:
{1: 'RSAMD5',
 2: 'DH',
 3: 'DSA',
 4: 'ECC',
 252: 'INDIRECT',
 253: 'PRIVATEDNS',
 254: 'PRIVATEOID'}                                                    

Generated by Epydoc 2.1 on Sun Jan 30 10:41:36 2005 http://epydoc.sf.net