File: //usr/local/ssl/local/ssl/lib/python2.4/site-packages/dns/tsigkeyring.pyc
mò
²É#Rc @ s. d Z d k Z d k Z d „ Z d „ Z d S( s A place to store TSIG keys.Nc C sJ h } x= | D]5 } t i i | ƒ } t i | | ƒ } | | | <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: dictN(
t keyringt textringt keytextt dnst namet from_textt keynamet base64t decodestringt secret( R R R R R ( ( t3 /usr/lib/python2.4/site-packages/dns/tsigkeyring.pyR s c C sD h } x7 | D]/ } | i ƒ } t i | | ƒ } | | | <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: dictN( R R R t to_textR R t encodestringR ( R R R R R ( ( R
R "