Viewing File: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyo

ó
rÑSc@sPddlZddlZddlZddlZdejjfd„ƒYZdS(iÿÿÿÿNt
NSEC3PARAMcBsƒeZdZddddgZd„Zded„Zded„Ze	eƒZddd„Z
dd	„Ze	eƒZd
„ZRS(sNSEC3PARAM 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	algorithmtflagst
iterationstsaltcCsAtt|ƒj||ƒ||_||_||_||_dS(N(tsuperRt__init__RRRR(tselftrdclasstrdtypeRRRR((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyR$s
			cKsG|jdkrd}n|jjdƒ}d|j|j|j|fS(Ntt-s	hex-codecs%u %u %u %s(RtencodeRRR(Rtorigint
relativizetkwR((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pytto_text+s	c
Csw|jƒ}|jƒ}|jƒ}|jƒ}	|	dkrEd}	n|	jdƒ}	|jƒ|||||||	ƒS(NRR
s	hex-codec(t	get_uint8t
get_uint16t
get_stringtdecodetget_eol(
tclsRR	ttokR
RRRRR((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt	from_text2s	
cCsNt|jƒ}|jtjd|j|j|j|ƒƒ|j|jƒdS(Ns!BBHB(tlenRtwritetstructtpackRRR(RtfiletcompressR
tl((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pytto_wire@scCsœtjd|||d!ƒ\}}}	}
|d7}|d8}||||
!jƒ}||
7}||
8}|dkrƒtjj‚n||||||	|ƒS(Ns!BBHBii(Rtunpacktunwraptdnst	exceptiont	FormError(RRR	twiretcurrenttrdlenR
RRRtslenR((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt	from_wireFs	 



cCsKtjƒ}|j|ƒtjƒ}|j|ƒt|jƒ|jƒƒS(N(t	cStringIOtStringIOR tcmptgetvalue(Rtothertb1tb2((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt_cmpTs


N(
t__name__t
__module__t__doc__t	__slots__RtNonetTrueRRtclassmethodR R*R2(((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyRs
	(R+Rt
dns.exceptionR#t	dns.rdatatrdatatRdataR(((s@/usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/NSEC3PARAM.pyt<module>s
Back to Directory File Manager