Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupMemberPrivateState Class
Contains the group-specific private encryption key synchronized between an account's devices.
public sealed record GroupMemberPrivateState : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupMemberPrivateState>
Inheritance System.Object → ProtocolModel → GroupMemberPrivateState
Implements System.IEquatable<GroupMemberPrivateState>
Properties
GroupMemberPrivateState.GroupId Property
The group's canonical grp_ identifier.
public string GroupId { get; init; }
Property Value
GroupMemberPrivateState.MemberEncryptionPrivateKey Property
The account's 32-byte group-specific X25519 private key; treat it as secret material.
public System.Collections.Immutable.ImmutableArray<byte> MemberEncryptionPrivateKey { get; init; }
Property Value
System.Collections.Immutable.ImmutableArray<System.Byte>
GroupMemberPrivateState.RelayId Property
The relay's lowercase Neo script hash, including the 0x prefix.
public string RelayId { get; init; }
Property Value
Methods
GroupMemberPrivateState.Validate(NetworkContext) Method
Validates the group and relay identifiers and private member-key length.
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.