Class Delegation
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
EpochulongRises with every rotation, so a retired key cannot be reinstated by replaying the statement that once authorised it.
ReleaseKeybyte[]The key that may sign manifests while this stands.
ExpiresulongWhen 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
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
ReleaseKey
The key that may sign manifests while this stands.
public byte[] ReleaseKey { get; init; }
Property Value
- byte[]