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
-
objectErrorSignature
- 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
KeyIDlongThe key ID of the key used to create this signature.
ErrorSignature(ErrorSignature)
protected ErrorSignature(ErrorSignature original)
Parameters
originalErrorSignature
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out long)
public void Deconstruct(out long KeyID)
Parameters
KeyIDlong
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ErrorSignature?)
public virtual bool Equals(ErrorSignature? other)
Parameters
otherErrorSignature
Returns
Equals(OpenPgpSignature?)
public override sealed bool Equals(OpenPgpSignature? other)
Parameters
otherOpenPgpSignature
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
Returns the signature information in the form "ErrorSignature: KeyID". Not safe for parsing!
public override string ToString()
Returns
Operators
operator ==(ErrorSignature?, ErrorSignature?)
public static bool operator ==(ErrorSignature? left, ErrorSignature? right)
Parameters
leftErrorSignaturerightErrorSignature
Returns
operator !=(ErrorSignature?, ErrorSignature?)
public static bool operator !=(ErrorSignature? left, ErrorSignature? right)
Parameters
leftErrorSignaturerightErrorSignature