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

Class ValidSig

source code

object --+    
         |    
 Signature --+
             |
            ValidSig

A valid signature check result.

Instance Methods
str
__str__(self)
str(x)
source code
bool
is_trusted(self, domain=None)
Asks the trust.trust_db.
source code
int
get_timestamp(self)
Get the time this signature was made.
source code
[[str]]
get_details(self)
Call 'gpg --list-keys' and return the results split into lines and columns.
source code

Inherited from Signature: __init__, need_key

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

Class Variables
  FINGERPRINT = 0
  TIMESTAMP = 2
  fingerprint = property(lambda self: self.status [self.FINGERPR...
Instance Variables

Inherited from Signature: messages, status

Properties

Inherited from object: __class__

Method Details

__str__(self)
(Informal representation operator)

source code 

str(x)

Returns: str
Overrides: object.__str__

is_trusted(self, domain=None)

source code 

Asks the trust.trust_db.

Parameters:
  • domain (str | None)
Returns: bool
Overrides: Signature.is_trusted

Class Variable Details

fingerprint

Value:
property(lambda self: self.status [self.FINGERPRINT])