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, DigestMultibase? digestMultibase, 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 stringvta-sealed-transfer/v1. Recipient is the X25519 derivation ofrequest.holder's Ed25519 pubkey.final - digestMultibase → String?
-
Digest over the armored ciphertext, for holders that pin the bundle out-of-band.
Taken over the armored bytes exactly as carried in
bundle, not over a canonicalization: the armor is the artifact, and re-armoring the same ciphertext does not have to reproduce the same bytes.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