Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupKeyEntry Class
Contains encrypted client and relay secrets for one group epoch.
public sealed record GroupKeyEntry : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupKeyEntry>
Inheritance System.Object → ProtocolModel → GroupKeyEntry
Implements System.IEquatable<GroupKeyEntry>
Properties
GroupKeyEntry.ClientSecretBox Property
The encrypted client secret for this epoch when it changes; later entries may omit it to reuse the preceding client secret.
public Meshline.Models.Protocol.GroupSecretBox? ClientSecretBox { get; init; }
Property Value
GroupKeyEntry.Epoch Property
The group key epoch associated with this record.
public long Epoch { get; init; }
Property Value
GroupKeyEntry.RelaySecretBox Property
The relay contribution to the group secret, encrypted for the member.
public Meshline.Models.Protocol.GroupSecretBox RelaySecretBox { get; init; }
Property Value
Methods
GroupKeyEntry.Validate(NetworkContext) Method
Validates the epoch and encrypted client and relay secret boxes.
public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);
Parameters
context NetworkContext
The optional network context passed to nested validation when needed; field-only validation may ignore it.
Returns
ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.