Package gozerbot :: Module pgp :: Class Pgp
[hide private]
[frames] | no frames]

Class Pgp

source code

object --+
         |
        Pgp

Wrapper for the GNU Privacy Guard.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
exists(self, keyid) source code
 
imports(self, data) source code
 
imports_keyserver(self, fingerprint) source code
 
remove(self, data) source code
 
verify(self, data) source code
 
verify_signature(self, data, signature) source code
 
_gpg(self, *extra) source code
 
_tmp(self, data) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  re_verify = re.compile('^\[GNUPG:\] VALIDSIG ([0-9A-F]+)', re....
  re_import = re.compile('^\[GNUPG:\] IMPORT_OK \d ([0-9A-F]+)',...
  re_pubkey = re.compile('^\[GNUPG:\] NO_PUBKEY ([0-9A-F]+)', re...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

re_verify

Value:
re.compile('^\[GNUPG:\] VALIDSIG ([0-9A-F]+)', re.I | re.M)

re_import

Value:
re.compile('^\[GNUPG:\] IMPORT_OK \d ([0-9A-F]+)', re.I | re.M)

re_pubkey

Value:
re.compile('^\[GNUPG:\] NO_PUBKEY ([0-9A-F]+)', re.I | re.M)