pub struct OpenedArmored {
pub payload: SealedPayloadV1,
pub producer: ProducerAssertion,
pub bundle_id: [u8; 16],
pub bundle_id_hex: String,
pub digest: String,
pub client_x25519_pub: [u8; 32],
}Expand description
The result of open_armored_bundle — the full sealed payload plus the
producer assertion, ready for caller-specific trust verification.
Fields§
§payload: SealedPayloadV1§producer: ProducerAssertion§bundle_id: [u8; 16]§bundle_id_hex: String§digest: String§client_x25519_pub: [u8; 32]Consumer’s X25519 public key — the client_x25519_pub the
producer signed over in a DidSigned assertion. Derived from the
stored Ed25519 seed that opened the bundle
(ed25519_pub_to_x25519_bytes(ed25519_pub)), captured here
because the seed file is zeroized+removed on successful open.
Downstream verification of the producer assertion feeds this
into
vta_sdk::sealed_transfer::verify::verify_producer_assertion_with_pubkey.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenedArmored
impl RefUnwindSafe for OpenedArmored
impl Send for OpenedArmored
impl Sync for OpenedArmored
impl Unpin for OpenedArmored
impl UnsafeUnpin for OpenedArmored
impl UnwindSafe for OpenedArmored
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>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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, 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,
impl<T> Read<Exclusive, BecauseExclusive> 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.