Package conary :: Package lib :: Module openpgpkey :: Class OpenPGPKeyCache
[hide private]
[frames] | no frames]

Class OpenPGPKeyCache

source code

Known Subclasses:
repository.netrepos.keytable.OpenPGPKeyDBCache, OpenPGPKeyFileCache

Base class for a key cache

Instance Methods [hide private]
 
__init__(self) source code
 
getPublicKey(self, keyId) source code
 
getPrivateKey(self, keyId, passphrase=None) source code
 
reset(self)
Remove all keys from the key cache
source code
 
remove(self, keyId)
Remove a key from the cache
source code
Method Details [hide private]

remove(self, keyId)

source code 
Remove a key from the cache
Parameters:
  • keyId (str) - the key ID