Members on this page
Meshline.Sdk
Meshline.Models.Protocol
SignedDeviceStateQuery Class
Requests account device state using signed device identity and authorization evidence.
public sealed record SignedDeviceStateQuery : Meshline.Models.Protocol.TypedProtocolModel, System.IEquatable<Meshline.Models.Protocol.SignedDeviceStateQuery>
Inheritance System.Object → ProtocolModel → TypedProtocolModel → SignedDeviceStateQuery
Implements System.IEquatable<SignedDeviceStateQuery>
Constructors
SignedDeviceStateQuery() Constructor
Requests account device state using signed device identity and authorization evidence.
public SignedDeviceStateQuery();
Properties
SignedDeviceStateQuery.Account Property
The account's CAIP-10 identifier.
public string Account { get; init; }
Property Value
SignedDeviceStateQuery.Authorization Property
The contact grant or invitation supplied as authorization evidence.
public Meshline.Models.Protocol.TypedProtocolModel Authorization { get; init; }
Property Value
SignedDeviceStateQuery.CreatedAt Property
The creation time, in Unix seconds.
public long CreatedAt { get; init; }
Property Value
SignedDeviceStateQuery.DeviceSignature Property
The device signature over the model's device signing input.
public System.Collections.Immutable.ImmutableArray<byte> DeviceSignature { get; init; }
Property Value
System.Collections.Immutable.ImmutableArray<System.Byte>
SignedDeviceStateQuery.SignerCertificate Property
The device certificate supplied as evidence for the associated payload's signature.
public Meshline.Models.Protocol.DeviceCertificate SignerCertificate { get; init; }
Property Value
Methods
SignedDeviceStateQuery.GetSigningInput(NetworkContext) Method
Builds the canonical, network-bound bytes used to sign or verify this document.
public byte[] GetSigningInput(Meshline.Models.NetworkContext context);
Parameters
context NetworkContext
The network context bound into identifiers or signing input.
Returns
System.Byte[]
The canonical UTF-8 signing input bound to the network context, with the applicable signature fields omitted.
Exceptions
System.Text.Json.JsonException
The signing payload cannot be represented as canonical protocol JSON, contains conflicting extension fields, or already contains a root $context property.