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

GroupRotationPrepareRequest Class

Stages new encrypted client-secret boxes against the current client-secret commitment.

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

Inheritance System.Object → ProtocolModel → GroupRotationPrepareRequest

Implements System.IEquatable<GroupRotationPrepareRequest>

Properties

GroupRotationPrepareRequest.BaseCommitment Property

The current client-secret commitment against which the rotation is prepared.

public string BaseCommitment { get; init; }

Property Value

System.String

GroupRotationPrepareRequest.ClientSecretBoxes Property

Encrypted client-secret boxes keyed by member account identifier, using ordinal key comparison.

public System.Collections.Immutable.ImmutableDictionary<string,Meshline.Models.Protocol.GroupSecretBox> ClientSecretBoxes { get; init; }

Property Value

System.Collections.Immutable.ImmutableDictionary<System.String,GroupSecretBox>

GroupRotationPrepareRequest.ClientSecretCommitment Property

The commitment identifying the group client secret.

public string ClientSecretCommitment { get; init; }

Property Value

System.String

GroupRotationPrepareRequest.GroupId Property

The group's canonical grp_ identifier.

public string GroupId { get; init; }

Property Value

System.String

Methods

GroupRotationPrepareRequest.Validate(NetworkContext) Method

Validates differing client-secret commitments and the batch of encrypted member 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.