pub struct TcbInfo {
pub mrtd: String,
pub rtmr0: String,
pub rtmr1: String,
pub rtmr2: String,
pub rtmr3: String,
pub os_image_hash: String,
pub compose_hash: String,
pub device_id: String,
pub app_compose: String,
pub event_log: Vec<EventLog>,
}Expand description
Trusted Computing Base information structure
Fields§
§mrtd: StringThe measurement root of trust
rtmr0: StringThe value of RTMR0 (Runtime Measurement Register 0)
rtmr1: StringThe value of RTMR1 (Runtime Measurement Register 1)
rtmr2: StringThe value of RTMR2 (Runtime Measurement Register 2)
rtmr3: StringThe value of RTMR3 (Runtime Measurement Register 3)
os_image_hash: StringThe hash of the OS image. This is empty if the OS image is not measured by KMS.
compose_hash: StringThe hash of the compose configuration
device_id: StringThe device identifier
app_compose: StringThe app compose
event_log: Vec<EventLog>The event log entries
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TcbInfo
impl<'de> Deserialize<'de> for TcbInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TcbInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TcbInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for TcbInfo
impl Ord for TcbInfo
Source§impl PartialOrd for TcbInfo
impl PartialOrd for TcbInfo
Source§impl Serialize for TcbInfo
impl Serialize for TcbInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TcbInfo
impl StructuralPartialEq for TcbInfo
Auto Trait Implementations§
impl Freeze for TcbInfo
impl RefUnwindSafe for TcbInfo
impl Send for TcbInfo
impl Sync for TcbInfo
impl Unpin for TcbInfo
impl UnwindSafe for TcbInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more