Coverage for src/lib/python/isc/server_common/tsig_keyring : 100%
        
        
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
| 
 # Copyright (C) 2012 Internet Systems Consortium, Inc. ("ISC") # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SYSTEMS CONSORTIUM # DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL # INTERNET SYSTEMS CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING # FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 
 This module conveniently keeps a copy of TSIG keyring loaded from the tsig_keys module. """ 
 
 
 """ Raised when an unexpected operation is requested by the user of this module. For example if calling keyring() before init_keyring(). """ 
 """ Raised when a key can not be added. This usually means there's a duplicate. """ 
 """ The updater of tsig key ring. Not to be used directly. """ """ Constructor. Pass the ccsession object so the key ring can be downloaded. """ PYSERVER_COMMON_TSIG_KEYRING_INIT) 
 """ Update the key ring by the configuration. 
 Note that this function is used as a callback, but can raise on bad data. The bad data is expected to be handled by the configuration plugin and not be allowed as far as here. 
 The parameters are there just to match the signature which the callback should have (i.e. they are ignored). """ PYSERVER_COMMON_TSIG_KEYRING_UPDATE) 
 """ Return the current key ring. """ 
 """ Unregister from getting updates. The object will not be usable any more after this. """ PYSERVER_COMMON_TSIG_KEYRING_DEINIT) 
 """ Get the current key ring. You need to call init_keyring first. """ "init_keyring()") 
 """ Initialize the key ring for future use. It does nothing if already initialized. """ global updater 
 """ Deinit key ring. Yoeu can no longer access keyring() after this. Does nothing if not initialized. """ global updater  |