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

GroupCreateRequest Class

Combines a group creation document with the owner's encrypted client-secret box.

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

Inheritance System.Object → ProtocolModel → GroupCreateRequest

Implements System.IEquatable<GroupCreateRequest>

Properties

GroupCreateRequest.ClientSecretBox Property

The client contribution to the group secret, encrypted for the member.

public Meshline.Models.Protocol.GroupSecretBox ClientSecretBox { get; init; }

Property Value

GroupSecretBox

GroupCreateRequest.Create Property

The signed group creation document.

public Meshline.Models.Protocol.GroupCreate Create { get; init; }

Property Value

GroupCreate

Methods

GroupCreateRequest.Validate(NetworkContext) Method

Validates the group creation document and the owner's encrypted client-secret box.

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.