OwlCyberSecurity - MANAGER
Edit File: rdatatype.pyc
� ]�aPc�����������@���s���d��Z��d�d�l�Z�d�d�l�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z �d �Z �d �Z�d�Z�d�Z �d �Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z�d�Z �d �Z!�d!�Z"�d"�Z#�d#�Z$�d$�Z%�d%�Z&�d&�Z'�d'�Z(�d(�Z)�d)�Z*�d*�Z+�d+�Z,�d,�Z-�d-�Z.�d.�Z/�d/�Z0�d0�Z1�d1�Z2�d2�Z3�d3�Z4�d4�Z5�d5�Z6�d6�Z7�d7�Z8�d8�Z9�d9�Z:�d:�Z;�d;�Z<�d<�Z=�d=�Z>�d>�Z?�d?�Z@�i=�e�d@�6e�dA�6e�dB�6e�dC�6e�dD�6e �dE�6e �dF�6e�dG�6e�dH�6e �dI�6e�dJ�6e�dK�6e�dL�6e�dM�6e�dN�6e�dO�6e�dP�6e�dQ�6e�dR�6e�dS�6e�dT�6e�dU�6e�dV�6e�dW�6e�dX�6e�dY�6e�dZ�6e�d[�6e �d\�6e!�d]�6e"�d^�6e#�d_�6e$�d`�6e%�da�6e&�db�6e'�dc�6e(�dd�6e)�de�6e*�df�6e+�dg�6e,�dh�6e-�di�6e.�dj�6e/�dk�6e0�dl�6e1�dm�6e2�dn�6e3�do�6e4�dp�6e5�dq�6e6�dr�6e7�ds�6e8�dt�6e9�du�6e:�dv�6e;�dw�6e<�dx�6e=�dy�6e>�dz�6e?�d{�6e@�d|�6ZA�eB�g��eA�jC����D]�\�ZD�ZE�eE�eD�f�^�qM��ZF�i�eG�e)�6ZH�i�eG�e �6eG�e"�6eG�e(�6eG�e/�6ZI�e�jJ�d}�e�jK���ZL�d~�e�jM�jN�f�d�������YZO�d�����ZP�d�����ZQ�d�����ZR�d�����ZS�d�S(����s��DNS Rdata Types. @var _by_text: The rdata type textual name to value mapping @type _by_text: dict @var _by_value: The rdata type value to textual name mapping @type _by_value: dict @var _metatypes: If an rdatatype is a metatype, there will be a mapping whose key is the rdatatype value and whose value is True in this dictionary. @type _metatypes: dict @var _singletons: If an rdatatype is a singleton, there will be a mapping whose key is the rdatatype value and whose value is True in this dictionary. @type _singletons: dicti����Ni����i���i���i���i���i���i���i���i���i ���i ���i���i���i ���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i!���i#���i$���i%���i&���i'���i)���i*���i+���i,���i-���i.���i/���i0���i1���i2���i3���i4���i7���ic���ig���i����i����i����i����i����i����i����i����i���t���NONEt���At���NSt���MDt���MFt���CNAMEt���SOAt���MBt���MGt���MRt���NULLt���WKSt���PTRt���HINFOt���MINFOt���MXt���TXTt���RPt���AFSDBt���X25t���ISDNt���RTt���NSAPs���NSAP-PTRt���SIGt���KEYt���PXt���GPOSt���AAAAt���LOCt���NXTt���SRVt���NAPTRt���KXt���CERTt���A6t���DNAMEt���OPTt���APLt���DSt���SSHFPt���IPSECKEYt���RRSIGt���NSECt���DNSKEYt���DHCIDt���NSEC3t ���NSEC3PARAMt���TLSAt���HIPt���SPFt���UNSPECt���TKEYt���TSIGt���IXFRt���AXFRt���MAILBt���MAILAt���ANYt���TAt���DLVs ���TYPE([0-9]+)$t���UnknownRdatatypec�����������B���s���e��Z�d��Z�RS(���s���Raised if a type is unknown.(���t���__name__t ���__module__t���__doc__(����(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyR<�������s���c���������C���s����t��j�|��j������}�|�d�k�r��t�j�|����}�|�d�k�rE�t���n��t�|�j�d�����}�|�d�k��sr�|�d�k�r��t �d�����q��n��|�S(���s����Convert text into a DNS rdata type value. @param text: the text @type text: string @raises dns.rdatatype.UnknownRdatatype: the type is unknown @raises ValueError: the rdata type value is not >= 0 and <= 65535 @rtype: inti���i����i����s&���type must be between >= 0 and <= 65535N( ���t���_by_textt���gett���uppert���Nonet���_unknown_type_patternt���matchR<���t���intt���groupt ���ValueError(���t���textt���valueRE���(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyt ���from_text����s���� c���������C���sT���|��d�k��s�|��d�k�r'�t��d�����n��t�j�|����}�|�d�k�rP�d�|�� }�n��|�S(���s����Convert a DNS rdata type to text. @param value: the rdata type value @type value: int @raises ValueError: the rdata type value is not >= 0 and <= 65535 @rtype: stringi����i����s&���type must be between >= 0 and <= 65535t���TYPEN(���RH���t ���_by_valueRA���RC���(���RJ���RI���(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyt���to_text����s����c���������C���s/���|��t��k�r�|��t�k�s'�t�j�|����r+�t�St�S(���sb���True if the type is a metatype. @param rdtype: the type @type rdtype: int @rtype: bool(���R3���R9���t ���_metatypest���has_keyt���Truet���False(���t���rdtype(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyt���is_metatype����s����'c���������C���s���t��j�|����r�t�St�S(���sc���True if the type is a singleton. @param rdtype: the type @type rdtype: int @rtype: bool(���t���_singletonsRP���RQ���RR���(���RS���(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyt���is_singleton����s����(T���R?���t���ret ���dns.exceptiont���dnsR����R���R���R���R���R���R���R���R���R ���R ���R���R���R ���R���R���R���R���R���R���R���R���R���t���NSAP_PTRR���R���R���R���R���R���R���R���R���R ���R!���R"���R#���R$���R%���R&���R'���R(���R)���R*���R+���R,���R-���R.���R/���R0���R1���R2���R3���R4���R5���R6���R7���R8���R9���R:���R;���R@���t���dictt ���iteritemst���xt���yRM���RQ���RO���RU���t���compilet���IRD���t ���exceptiont���DNSExceptionR<���RK���RN���RT���RV���(����(����(����s3���/usr/lib64/python2.7/site-packages/dns/rdatatype.pyt���<module>���s�� 1