Table of Contents

Class OpenPgpFingerprint

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

An OpenPGP key fingerprint.

[Equatable]
public record OpenPgpFingerprint : IEquatable<OpenPgpFingerprint>
Inheritance
OpenPgpFingerprint
Implements
Inherited Members

Constructors

OpenPgpFingerprint(byte[])

An OpenPGP key fingerprint.

public OpenPgpFingerprint(byte[] Identifier)

Parameters

Identifier byte[]

A long identifier for an OpenPGP key.

Properties

Identifier

A long identifier for an OpenPGP key.

[OrderedEquality]
public byte[] Identifier { get; init; }

Property Value

byte[]

Methods

Equals(OpenPgpFingerprint?)

Indicates whether the current object is equal to another object of the same type.

public virtual bool Equals(OpenPgpFingerprint? other)

Parameters

other OpenPgpFingerprint

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

implicit operator byte[](OpenPgpFingerprint)

public static implicit operator byte[](OpenPgpFingerprint fingerprint)

Parameters

fingerprint OpenPgpFingerprint

Returns

byte[]