관리-도구
편집 파일: NSEC3PARAM.pyo
� r�Sc @ sP d d l Z d d l Z d d l Z d d l Z d e j j f d � � YZ d S( i����Nt NSEC3PARAMc B s� e Z d Z d d d d g Z d � Z d e d � Z d e d � Z e e � Z d d d � Z d d � Z e e � Z d � Z RS( s NSEC3PARAM 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: stringt algorithmt flagst iterationst saltc C sA t t | � j | | � | | _ | | _ | | _ | | _ d S( N( t superR t __init__R R R R ( t selft rdclasst rdtypeR R R R ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyR $ s c K sG | j d k r d } n | j j d � } d | j | j | j | f S( Nt t -s hex-codecs %u %u %u %s( R t encodeR R R ( R t origint relativizet kwR ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt to_text+ s c C sw | j � } | j � } | j � } | j � } | d k rE d } n | j d � } | j � | | | | | | | � S( NR R s hex-codec( t get_uint8t get_uint16t get_stringt decodet get_eol( t clsR R t tokR R R R R R ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt from_text2 s c C sN t | j � } | j t j d | j | j | j | � � | j | j � d S( Ns !BBHB( t lenR t writet structt packR R R ( R t filet compressR t l( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt to_wire@ s c C s� t j d | | | d !� \ } } } } | d 7} | d 8} | | | | !j � } | | 7} | | 8} | d k r� t j j � n | | | | | | | � S( Ns !BBHBi i ( R t unpackt unwrapt dnst exceptiont FormError( R R R t wiret currentt rdlenR R R R t slenR ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt from_wireF s c C sK t j � } | j | � t j � } | j | � t | j � | j � � S( N( t cStringIOt StringIOR t cmpt getvalue( R t othert b1t b2( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt _cmpT s N( t __name__t __module__t __doc__t __slots__R t Nonet TrueR R t classmethodR R* R2 ( ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyR s ( R+ R t dns.exceptionR# t dns.rdatat rdatat RdataR ( ( ( s@ /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt <module> s