pub struct ContextProvisionBundle {
pub context_id: String,
pub context_name: String,
pub vta_url: Option<String>,
pub vta_did: Option<String>,
pub credential: CredentialBundle,
pub admin_did: String,
pub did: Option<ProvisionedDid>,
}Expand description
A self-contained bundle for provisioning an application context.
Contains everything an independent application needs to connect to the VTA, authenticate, and self-administer its context. Optionally includes DID material (document, log entry, keys) when a DID was created during provisioning.
Post-Phase-5 the canonical transport is [crate::sealed_transfer]
(SealedPayloadV1::ContextProvision) — HPKE-sealed, armored, with a
producer assertion anchoring trust. This struct is now only what rides
inside that envelope.
Fields§
§context_id: StringContext identifier.
context_name: StringHuman-readable context name.
vta_url: Option<String>VTA service public URL.
vta_did: Option<String>VTA service DID.
credential: CredentialBundleAdmin credential bundle for the provisioned context.
admin_did: StringDID of the admin identity created for this context.
did: Option<ProvisionedDid>DID material, present when a DID was created during provisioning.
Trait Implementations§
Source§impl Clone for ContextProvisionBundle
impl Clone for ContextProvisionBundle
Source§fn clone(&self) -> ContextProvisionBundle
fn clone(&self) -> ContextProvisionBundle
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more