Response class

Carried in a Trust Task document whose type is https://trusttasks.org/spec/provision/integration/0.1#response. The sealed bundle is the secret-bearing artefact; summary is non-secret audit metadata.

Constructors

Response({required String bundle, required String digest, required ProvisionSummary summary, Ext? ext})
const
Response.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

bundle → String
OpenPGP-style ASCII-armored ciphertext of SealedPayloadV1. HPKE base mode, X25519-HKDF-SHA256 KEM, ChaCha20-Poly1305 AEAD, info string vta-sealed-transfer/v1. Recipient is the X25519 derivation of request.holder's Ed25519 pubkey.
final
digest → String
SHA-256 of the armored ciphertext, lowercase hex. Used by holders that pin the bundle out-of-band.
final
ext → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
summary → ProvisionSummary
Non-secret audit metadata. MUST NOT include any private key material; the bundle is the only secret-bearing field.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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