Package zeroinstall :: Package injector :: Module gpg :: Class Signature
[frames] | no frames]

Class Signature

source code

object --+
         |
        Signature

Abstract base class for signature check results.

Instance Methods
 
__init__(self, status)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
bool
is_trusted(self, domain=None)
Whether this signature is trusted by the user.
source code
 
need_key(self)
Returns the ID of the key that must be downloaded to check this signature.
source code

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

Instance Variables
  status = None
the raw data returned by GPG
  messages = None
any messages printed by GPG which may be relevant to this signature
Properties

Inherited from object: __class__

Method Details

__init__(self, status)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • status ([str])
Overrides: object.__init__