Table of Contents

Class OpenPgpSignature

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

Represents a signature checked by an IOpenPgp implementation.

public abstract record OpenPgpSignature : IKeyIDContainer, IEquatable<OpenPgpSignature>
Inheritance
object
OpenPgpSignature
Implements
Derived
Extension Methods

Constructors

OpenPgpSignature(long)

Represents a signature checked by an IOpenPgp implementation.

protected OpenPgpSignature(long KeyID)

Parameters

KeyID long

OpenPgpSignature(OpenPgpSignature)

protected OpenPgpSignature(OpenPgpSignature original)

Parameters

original OpenPgpSignature

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

KeyID

An OpenPGP key ID. A short identifier for a key. The lower 64 bits of Fingerprint.

public long KeyID { get; init; }

Property Value

long

Methods

Deconstruct(out long)

public void Deconstruct(out long KeyID)

Parameters

KeyID long

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(OpenPgpSignature?)

public virtual bool Equals(OpenPgpSignature? other)

Parameters

other OpenPgpSignature

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OpenPgpSignature?, OpenPgpSignature?)

public static bool operator ==(OpenPgpSignature? left, OpenPgpSignature? right)

Parameters

left OpenPgpSignature
right OpenPgpSignature

Returns

bool

operator !=(OpenPgpSignature?, OpenPgpSignature?)

public static bool operator !=(OpenPgpSignature? left, OpenPgpSignature? right)

Parameters

left OpenPgpSignature
right OpenPgpSignature

Returns

bool