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

GroupSecretRotation Class

Commits a new group client secret and optionally replaces the owner's member encryption key.

public sealed record GroupSecretRotation : Meshline.Models.Protocol.GroupManagementOperation, System.IEquatable<Meshline.Models.Protocol.GroupSecretRotation>

Inheritance System.Object → ProtocolModel → TypedProtocolModel → GroupManagementOperation → GroupSecretRotation

Implements System.IEquatable<GroupSecretRotation>

Constructors

GroupSecretRotation() Constructor

Commits a new group client secret and optionally replaces the owner's member encryption key.

public GroupSecretRotation();

Properties

GroupSecretRotation.ClientSecretCommitment Property

The commitment identifying the group client secret.

public string ClientSecretCommitment { get; init; }

Property Value

System.String

GroupSecretRotation.OwnerEncryptionPublicKey Property

An optional replacement X25519 member public key for the group owner.

public System.Nullable<System.Collections.Immutable.ImmutableArray<byte>> OwnerEncryptionPublicKey { get; init; }

Property Value

System.Nullable<System.Collections.Immutable.ImmutableArray<System.Byte>>

Methods

GroupSecretRotation.Validate(NetworkContext) Method

Validates management-chain fields, the client-secret commitment, and an optional replacement owner key.

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.