pub struct CreatedProvisionRequest {
pub request: BootstrapRequest,
pub client_did: String,
pub bundle_id_hex: String,
pub secret_path: PathBuf,
}Expand description
The outcome of create_provision_request: the signed VP plus the
bookkeeping fields callers need to hand to the operator / match the
returned sealed bundle.
Fields§
§request: BootstrapRequestSigned VP (VC Data Model 2.0 VerifiablePresentation +
BootstrapRequest types) — serialize and hand to the VTA
operator for vta bootstrap provision-integration --request ....
client_did: Stringdid:key:z6Mk... derived from the ephemeral keypair; mirrors
request.holder.
bundle_id_hex: StringHex-encoded 16-byte bundle id (== the VP’s nonce). Also the
filename stem under which the seed was persisted.
secret_path: PathBufAbsolute path to the persisted Ed25519 seed. Read-restricted to the owner (0600 on Unix).
Auto Trait Implementations§
impl Freeze for CreatedProvisionRequest
impl RefUnwindSafe for CreatedProvisionRequest
impl Send for CreatedProvisionRequest
impl Sync for CreatedProvisionRequest
impl Unpin for CreatedProvisionRequest
impl UnsafeUnpin for CreatedProvisionRequest
impl UnwindSafe for CreatedProvisionRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.