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

GroupMemberKey Class

Associates an account with its group-specific encryption public key.

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

Inheritance System.Object → ProtocolModel → GroupMemberKey

Implements System.IEquatable<GroupMemberKey>

Properties

GroupMemberKey.Account Property

The account's CAIP-10 identifier.

public string Account { get; init; }

Property Value

System.String

GroupMemberKey.MemberEncryptionPublicKey Property

The account's 32-byte group-specific X25519 public key.

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

Property Value

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

Methods

GroupMemberKey.Validate(NetworkContext) Method

Validates the account identifier and 32-byte member encryption public 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.