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
clientDidwhen no admin rollover occurred (TemplateBootstrap with noadminTemplate); equals the freshly-minted admin DID whenadminTemplatewas used or when the ask wasadminRotation. Maintainers that pre-date admin rollover MAY omit this; consumers SHOULD default it toclientDidfor 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.adminTemplateoradminRotation).final - bundleIdHex → String
-
VP nonce as lowercase hex (32 characters = 16 bytes). MUST equal the
Bundle-Idarmor header ofbundle. 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.createContextwas honoured and the maintainer provisioned the target context inline. False when the context already existed (or whencreateContextwas 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.jsonllogs, DIDComm service advertisements, etc.). Always 0 foradminRotation.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.
templateBootstrapwith no adminTemplate typically yields 1 (the integration DID's keys).adminRotationyields 0 (theadminfield is top-level, not undersecrets).final - templateKind → String?
-
kindof the integration template (e.g.mediator,did-hosting-control,app). Absent foradminRotation.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.jsonlto, 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