관리-도구
편집 파일: tsigkeyring.pyc
� ��#Rc @ s4 d Z d d l Z d d l Z d � Z d � Z d S( s A place to store TSIG keys.i����Nc C sJ i } x= | D]5 } t j j | � } t j | | � } | | | <q W| S( s� Convert a dictionary containing (textual DNS name, base64 secret) pairs into a binary keyring which has (dns.name.Name, binary secret) pairs. @rtype: dict( t dnst namet from_textt base64t decodestring( t textringt keyringt keytextt keynamet secret( ( s5 /usr/lib64/python2.7/site-packages/dns/tsigkeyring.pyR s c C sD i } x7 | D]/ } | j � } t j | | � } | | | <q W| S( s� Convert a dictionary containing (dns.name.Name, binary secret) pairs into a text keyring which has (textual DNS name, base64 secret) pairs. @rtype: dict( t to_textR t encodestring( R R R R R ( ( s5 /usr/lib64/python2.7/site-packages/dns/tsigkeyring.pyR "