Zero Install .NET API 2.20.0
ZeroInstall.Store.Trust.ValidSignature Class Reference

Represents a valid signature. More...

Inheritance diagram for ZeroInstall.Store.Trust.ValidSignature:
ZeroInstall.Store.Trust.OpenPgpSignature ZeroInstall.Store.Trust.IFingerprintContainer ZeroInstall.Store.Trust.IKeyIDContainer ZeroInstall.Store.Trust.IKeyIDContainer

Public Member Functions

 ValidSignature (long keyID, byte[] fingerprint, DateTime timestamp)
 Creates a new valid signature. More...
 
override string ToString ()
 Returns the signature information in the form "ValidSignature: Fingerprint (Timestamp)". Not safe for parsing!
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 
- Public Member Functions inherited from ZeroInstall.Store.Trust.OpenPgpSignature
override bool Equals (object? obj)
 
override int GetHashCode ()
 

Public Attributes

readonly DateTime Timestamp
 The point in time when the signature was created in UTC.
 

Properties

byte[] Fingerprint [get]
 
- Properties inherited from ZeroInstall.Store.Trust.OpenPgpSignature
long KeyID [get]
 
- Properties inherited from ZeroInstall.Store.Trust.IKeyIDContainer
long KeyID [get]
 An OpenPGP key ID. A short identifier for a key. The lower 64 bits of IFingerprintContainer.Fingerprint.
 
- Properties inherited from ZeroInstall.Store.Trust.IFingerprintContainer
byte[] Fingerprint [get]
 An OpenPGP key fingerprint. A long identifier for a key. Superset of IKeyIDContainer.KeyID.
 

Additional Inherited Members

- Protected Member Functions inherited from ZeroInstall.Store.Trust.OpenPgpSignature
bool Equals (OpenPgpSignature other)
 

Detailed Description

Represents a valid signature.

See also
IOpenPgp.Verify

Constructor & Destructor Documentation

◆ ValidSignature()

ZeroInstall.Store.Trust.ValidSignature.ValidSignature ( long  keyID,
byte[]  fingerprint,
DateTime  timestamp 
)
inline

Creates a new valid signature.

Parameters
keyIDThe key ID of the key used to create this signature.
fingerprintThe fingerprint of the key used to create this signature.
timestampThe point in time when the signature was created in UTC.

The documentation for this class was generated from the following file: