Table of Contents

Class ValidSignature

Namespace
ZeroInstall.Store.Trust
Assembly
ZeroInstall.Store.dll

Represents a valid signature.

public sealed record ValidSignature : OpenPgpSignature, IEquatable<OpenPgpSignature>, IFingerprintContainer, IKeyIDContainer, IEquatable<ValidSignature>
Inheritance
ValidSignature
Implements
Inherited Members
Extension Methods

Constructors

ValidSignature(long, OpenPgpFingerprint, DateTime)

Represents a valid signature.

public ValidSignature(long KeyID, OpenPgpFingerprint Fingerprint, DateTime Timestamp)

Parameters

KeyID long

The key ID of the key used to create this signature.

Fingerprint OpenPgpFingerprint

The fingerprint of the key used to create this signature.

Timestamp DateTime

The point in time when the signature was created in UTC.

Properties

Fingerprint

The fingerprint of the key used to create this signature.

public OpenPgpFingerprint Fingerprint { get; init; }

Property Value

OpenPgpFingerprint

Timestamp

The point in time when the signature was created in UTC.

public DateTime Timestamp { get; init; }

Property Value

DateTime

Methods

ToString()

Returns the signature information in the form "ValidSignature: Fingerprint (Timestamp)". Not safe for parsing!

public override string ToString()

Returns

string