| Home | Trees | Indices | Help |
|
|---|
|
|
DNS Names.
|
|||
|
EmptyLabel Raised if a label is empty. |
|||
|
BadEscape Raised if an escaped code in a text format name is invalid. |
|||
|
BadPointer Raised if a compression pointer points forward instead of backward. |
|||
|
BadLabelType Raised if the label type of a wire format name is unknown. |
|||
|
NeedAbsoluteNameOrOrigin Raised if an attempt is made to convert a non-absolute name to wire when there is also a non-absolute (or missing) origin. |
|||
|
NameTooLong Raised if a name is > 255 octets long. |
|||
|
LabelTooLong Raised if a label is > 63 octets long. |
|||
|
AbsoluteConcatenation Raised if an attempt is made to append anything other than the empty name to an absolute name. |
|||
|
NoParent Raised if an attempt is made to get the parent of the root name or the empty name. |
|||
|
Name A DNS name. |
|||
|
|||
| string |
|
||
|
|||
| dns.name.Name object |
|
||
| dns.name.Name object |
|
||
| (dns.name.Name object, int) tuple |
|
||
|
|||
NAMERELN_NONE = 0
|
|||
NAMERELN_SUPERDOMAIN = 1
|
|||
NAMERELN_SUBDOMAIN = 2
|
|||
NAMERELN_EQUAL = 3
|
|||
NAMERELN_COMMONANCESTOR = 4
|
|||
_escaped =
|
|||
| dns.name.Name object |
root = <DNS name .>The DNS root name. |
||
| dns.name.Name object |
empty = <DNS name @>The empty DNS name. |
||
__package__ =
|
|||
|
|||
Escape the characters in label which need it.
|
Check for empty labels in the middle of a label sequence, labels that are too long, and for too many labels.
|
Convert unicode text into a Name object. Lables are encoded in IDN ACE form.
|
Convert possibly compressed wire format into a Name.
|
|
|||
_escaped
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Mar 24 14:49:47 2011 | http://epydoc.sourceforge.net |