RPC class

Sealed Remote Procedure Call envelope (outer, plaintext, signed).

Constructors

RPC(List<int> bytes)
factory

Properties

CANONICAL_JSON_SIGNATURE → List<int>?
Ed25519 signature over canonical JSON with IDL field order and capitalization, no insignificant whitespace, and both signature fields omitted.
no setter
canonicalJsonSignature → List<int>?
no setter
CIPHERTEXT → List<int>?
Encrypted size-prefixed RPCBody.
no setter
DIRECTION → rpcDirection
Request or response.
no setter
ENCRYPTION → ENC?
Encryption header for CIPHERTEXT. CONTEXT is "RPC/1|request" or "RPC/1|response" matching DIRECTION.
no setter
hashCode → int
The hash code for this object.
no setterinherited
NONCE → List<int>?
Random 16-byte nonce, unique per envelope.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SENDER_KEY_ID → List<int>?
Optional identifier of the sender's key (routing hint only; the binding identity is SIGNER_PUBLIC_KEY checked against RPCBody.SIGNER_KEY_ID).
no setter
senderKeyId → List<int>?
no setter
SESSION_ID → String?
Optional session identifier established by a prior sign-in.
no setter
sessionId → String?
no setter
SIGNATURE → List<int>?
Ed25519 signature over the size-prefixed FlatBuffer with both 64-byte signature payloads zeroed while preserving their vectors and offsets.
no setter
SIGNATURE_TYPE → String?
Signature algorithm name. Version 1 defines "Ed25519".
no setter
signatureType → String?
no setter
SIGNER_PUBLIC_KEY → List<int>?
Ed25519 public key (32 bytes) that verifies both signatures.
no setter
signerPublicKey → List<int>?
no setter
TIMESTAMP → int
Sender clock at signing, milliseconds since the Unix epoch (UTC).
no setter
VERSION → int
Envelope version. This document defines version 1.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<RPC>