Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupHistorySecret Class
Contains the application secret needed to decrypt messages from a historical group epoch.
public sealed record GroupHistorySecret : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupHistorySecret>
Inheritance System.Object → ProtocolModel → GroupHistorySecret
Implements System.IEquatable<GroupHistorySecret>
Properties
GroupHistorySecret.ApplicationSecret Property
The 32-byte application secret for this historical group epoch; treat it as secret material.
public System.Collections.Immutable.ImmutableArray<byte> ApplicationSecret { get; init; }
Property Value
System.Collections.Immutable.ImmutableArray<System.Byte>
GroupHistorySecret.Epoch Property
The group key epoch associated with this record.
public long Epoch { get; init; }
Property Value
GroupHistorySecret.GroupId Property
The group's canonical grp_ identifier.
public string GroupId { get; init; }
Property Value
Methods
GroupHistorySecret.Validate(NetworkContext) Method
Validates the group identifier, epoch, and application-secret length.
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.