Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Protocol

GroupRotationPrepareResult Class

Reports how many member boxes were prepared and when the preparation expires.

public sealed record GroupRotationPrepareResult : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupRotationPrepareResult>

Inheritance System.Object → ProtocolModel → GroupRotationPrepareResult

Implements System.IEquatable<GroupRotationPrepareResult>

Properties

GroupRotationPrepareResult.ExpiresAt Property

The expiration time, in Unix seconds.

public long ExpiresAt { get; init; }

Property Value

System.Int64

GroupRotationPrepareResult.Prepared Property

The number of distinct current members with stored, structurally valid client-secret boxes; this does not prove the relay decrypted or verified their content.

public long Prepared { get; init; }

Property Value

System.Int64

Methods

GroupRotationPrepareResult.Validate(NetworkContext) Method

Validates that the rotation preparation has not expired.

public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context=null);

Parameters

context NetworkContext

The optional network context; this time check does not depend on it.

Returns

ProtocolViolation
The first detected protocol violation, or null if the implemented check passes.

Remarks

Prepared-member counts and expiration consistency across batches must be checked against the rotation separately.