pub struct BootPayload {
pub enclave_id: Uuid,
pub image_digest: String,
pub pcrs: PcrsHex,
pub booted_at: DateTime<Utc>,
pub nonce: Vec<u8>,
}Expand description
Payload shape for a ChainLinkKind::Boot link.
Fields§
§enclave_id: UuidEnclave identifier. Must match the URL path on ingest.
image_digest: StringManifest digest of the Docker image this boot is bound to.
pcrs: PcrsHexPCR0 / PCR1 / PCR2 in raw byte form (48 B each on Nitro).
booted_at: DateTime<Utc>Wall-clock time the in-enclave boot path produced this attestation.
nonce: Vec<u8>32-byte freshly-generated nonce.
Trait Implementations§
Source§impl Clone for BootPayload
impl Clone for BootPayload
Source§fn clone(&self) -> BootPayload
fn clone(&self) -> BootPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BootPayload
impl Debug for BootPayload
Source§impl<'de> Deserialize<'de> for BootPayload
impl<'de> Deserialize<'de> for BootPayload
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BootPayload
impl RefUnwindSafe for BootPayload
impl Send for BootPayload
impl Sync for BootPayload
impl Unpin for BootPayload
impl UnsafeUnpin for BootPayload
impl UnwindSafe for BootPayload
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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