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
-
objectOpenPgpSignature
- Implements
- Derived
- Extension Methods
Constructors
OpenPgpSignature(long)
Represents a signature checked by an IOpenPgp implementation.
protected OpenPgpSignature(long KeyID)
Parameters
KeyIDlong
OpenPgpSignature(OpenPgpSignature)
protected OpenPgpSignature(OpenPgpSignature original)
Parameters
originalOpenPgpSignature
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
KeyID
An OpenPGP key ID. A short identifier for a key. The lower 64 bits of Fingerprint.
public long KeyID { get; init; }
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(OpenPgpSignature?)
public virtual bool Equals(OpenPgpSignature? other)
Parameters
otherOpenPgpSignature
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OpenPgpSignature?, OpenPgpSignature?)
public static bool operator ==(OpenPgpSignature? left, OpenPgpSignature? right)
Parameters
leftOpenPgpSignaturerightOpenPgpSignature
Returns
operator !=(OpenPgpSignature?, OpenPgpSignature?)
public static bool operator !=(OpenPgpSignature? left, OpenPgpSignature? right)
Parameters
leftOpenPgpSignaturerightOpenPgpSignature