ProvisionSummary class

Audit-grade metadata about the provisioning outcome. Mirrors the existing vta_sdk::provision_integration::http::ProvisionSummary Rust type but uses camelCase wire fields per Trust Task convention.

Constructors

ProvisionSummary({required String clientDid, String? adminDid, bool? adminRolledOver, String? integrationDid, String? templateName, String? templateKind, String? adminTemplateName, required String bundleIdHex, required int secretCount, required int outputCount, String? webvhServerId, bool? contextCreated})
const
ProvisionSummary.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

adminDid → String?
Long-term admin DID after this provisioning. Equals clientDid when no admin rollover occurred (TemplateBootstrap with no adminTemplate); equals the freshly-minted admin DID when adminTemplate was used or when the ask was adminRotation. Maintainers that pre-date admin rollover MAY omit this; consumers SHOULD default it to clientDid for backward compatibility.
final
adminRolledOver → bool?
True when the maintainer minted a fresh long-term admin DID and bound the authorization VC + ACL row to it (i.e. adminDid != clientDid).
final
adminTemplateName → String?
Name of the admin template that was rendered. Present when an admin DID was minted (either via TemplateBootstrap.adminTemplate or adminRotation).
final
bundleIdHex → String
VP nonce as lowercase hex (32 characters = 16 bytes). MUST equal the Bundle-Id armor header of bundle. Cross-check anchor: a holder that decodes the VP nonce can verify the bundle they opened matches the one the maintainer minted for them.
final
clientDid → String
Ephemeral did:key the holder signed the VP with and opens the sealed bundle with. Echo of request.holder.
final
contextCreated → bool?
True when payload.createContext was honoured and the maintainer provisioned the target context inline. False when the context already existed (or when createContext was omitted / false).
final
hashCode → int
The hash code for this object.
no setterinherited
integrationDid → String?
DID rendered from the integration template. Absent for adminRotation (no integration was rendered).
final
outputCount → int
Number of template-declared side outputs the sealed bundle carries (did.jsonl logs, DIDComm service advertisements, etc.). Always 0 for adminRotation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretCount → int
Number of DIDs the sealed bundle carries private key material for. templateBootstrap with no adminTemplate typically yields 1 (the integration DID's keys). adminRotation yields 0 (the admin field is top-level, not under secrets).
final
templateKind → String?
kind of the integration template (e.g. mediator, did-hosting-control, app). Absent for adminRotation.
final
templateName → String?
Name of the integration template that was rendered. Absent for adminRotation.
final
webvhServerId → String?
Identifier of the registered webvh hosting server the maintainer published the integration's did.jsonl to, if any. Absent when the integration is self-hosted or when the template did not declare a webvh server var.
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