Members on this page
Meshline.Sdk
Meshline.Models.Protocol
GroupInviteResolveResult Class
Contains a resolved group invitation, its signer certificate, and use count.
public sealed record GroupInviteResolveResult : Meshline.Models.Protocol.ProtocolModel, System.IEquatable<Meshline.Models.Protocol.GroupInviteResolveResult>
Inheritance System.Object → ProtocolModel → GroupInviteResolveResult
Implements System.IEquatable<GroupInviteResolveResult>
Properties
GroupInviteResolveResult.Invite Property
The resolved signed group invitation document.
public Meshline.Models.Protocol.GroupInvite Invite { get; init; }
Property Value
GroupInviteResolveResult.SignerCertificate Property
The device certificate supplied as evidence for the associated payload's signature.
public Meshline.Models.Protocol.DeviceCertificate SignerCertificate { get; init; }
Property Value
GroupInviteResolveResult.Uses Property
The invitation use count reported by the relay.
public long Uses { get; init; }
Property Value
Methods
GroupInviteResolveResult.Validate(NetworkContext) Method
Validates the signer certificate, invitation use count, and nested invitation.
public override Meshline.Validation.ProtocolViolation? Validate(Meshline.Models.NetworkContext? context);
Parameters
context NetworkContext
The required network context for identity and signature validation.
Returns
ProtocolViolation
The first detected protocol violation, or null if the implemented checks pass.
Exceptions
System.ArgumentNullException
context is null.
System.Security.Cryptography.CryptographicException
The cryptographic provider cannot perform certificate signature verification.
Remarks
Resource and account matching, invitation signature verification, and signer authorization must be checked separately.