Table of Contents

Class Delegation

Namespace
Pamoja.Update
Assembly
Pamoja.Update.dll

A statement, signed by the anchor, that a second key may sign releases.

public sealed record Delegation : IEquatable<Delegation>
Inheritance
Delegation
Implements
Inherited Members

Constructors

Delegation(ulong, byte[], ulong)

A statement, signed by the anchor, that a second key may sign releases.

public Delegation(ulong Epoch, byte[] ReleaseKey, ulong Expires = 0)

Parameters

Epoch ulong

Rises with every rotation, so a retired key cannot be reinstated by replaying the statement that once authorised it.

ReleaseKey byte[]

The key that may sign manifests while this stands.

Expires ulong

When the delegation stops being honoured, in seconds since the Unix epoch, or 0 to never expire.

Properties

Epoch

Rises with every rotation, so a retired key cannot be reinstated by replaying the statement that once authorised it.

public ulong Epoch { get; init; }

Property Value

ulong

Expires

When the delegation stops being honoured, in seconds since the Unix epoch, or 0 to never expire.

public ulong Expires { get; init; }

Property Value

ulong

ReleaseKey

The key that may sign manifests while this stands.

public byte[] ReleaseKey { get; init; }

Property Value

byte[]