Table of Contents

Class ErrorSignature

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

Represents a signature that could not be validated for some reason.

public record ErrorSignature : OpenPgpSignature, IKeyIDContainer, IEquatable<OpenPgpSignature>, IEquatable<ErrorSignature>
Inheritance
object
ErrorSignature
Implements
Derived
Inherited Members
Extension Methods

Constructors

ErrorSignature(long)

Represents a signature that could not be validated for some reason.

public ErrorSignature(long KeyID)

Parameters

KeyID long

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

ErrorSignature(ErrorSignature)

protected ErrorSignature(ErrorSignature original)

Parameters

original ErrorSignature

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

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(ErrorSignature?)

public virtual bool Equals(ErrorSignature? other)

Parameters

other ErrorSignature

Returns

bool

Equals(OpenPgpSignature?)

public override sealed bool Equals(OpenPgpSignature? other)

Parameters

other OpenPgpSignature

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

Returns the signature information in the form "ErrorSignature: KeyID". Not safe for parsing!

public override string ToString()

Returns

string

Operators

operator ==(ErrorSignature?, ErrorSignature?)

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

Parameters

left ErrorSignature
right ErrorSignature

Returns

bool

operator !=(ErrorSignature?, ErrorSignature?)

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

Parameters

left ErrorSignature
right ErrorSignature

Returns

bool