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

Module dns.dnssec

Common DNSSEC-related functions.
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
int DSA
int ECC
int INDIRECT
int PRIVATEDNS
int PRIVATEOID
int RSAMD5
dict _algorithm_by_text
dict _algorithm_by_value

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 1.1 on Mon Jun 30 15:54:09 2003 http://epydoc.sf.net