File: //proc/3/root/usr/lib/python2.4/site-packages/dns/rdtypes/ANY/NSEC3.pyc
mò
-=Pc @ s d k Z d k Z d k Z d k Z d k Z d k Z d k Z e i d d ƒ Z e i d d ƒ Z
d Z d Z d e i
i f d „ ƒ YZ d S( Nt 0123456789ABCDEFGHIJKLMNOPQRSTUVt ABCDEFGHIJKLMNOPQRSTUVWXYZ234567i t NSEC3c B s‰ t Z d Z d d d d d d g Z d „ Z e e d „ Z e e d „ Z e e ƒ Z e e d
„ Z
e d „ Z e e ƒ Z d „ Z RS(
sž NSEC3 record
@ivar algorithm: the hash algorithm number
@type algorithm: int
@ivar flags: the flags
@type flags: int
@ivar iterations: the number of iterations
@type iterations: int
@ivar salt: the salt
@type salt: string
@ivar next: the next name hash
@type next: string
@ivar windows: the windowed bitmap list
@type windows: list of (window number, string) tuplest algorithmt flagst
iterationst saltt nextt windowsc C sS t t | ƒ i | | ƒ | | _ | | _ | | _ | | _ | | _
| | _ d S( N( t superR t selft __init__t rdclasst rdtypeR R R R R R ( R
R R
R R R R R R ( ( t9 /usr/lib/python2.4/site-packages/dns/rdtypes/ANY/NSEC3.pyR 6 s c
K s3 t i | i ƒ i t ƒ i ƒ } | i d j o
d } n | i i d ƒ } d } xº | i
D]¯ \ } } g } xƒ t d t | ƒ ƒ D]l } t | | ƒ }
xS t d d ƒ D]B } |
d | ?@o- | i t i i | d | d | ƒ ƒ q« q« Wq… W| d d i | ƒ 7} q] Wd | i | i | i | | | f S(
Nt t -s hex-codeci i i€ i t s %u %u %u %s %s%s( t base64t b32encodeR
R t translatet b32_normal_to_hext lowerR t encodet textR t windowt bitmapt bitst xranget lent it ordt bytet jt appendt dnst rdatatypet to_textt joinR R R (
R
t origint
relativizet kwR! R R R R R R R R ( ( R R% @ s"