MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / get_tdx_event_log_bytes

Method get_tdx_event_log_bytes

dstack-attest/src/attestation.rs:703–706  ·  view source on GitHub ↗

Get TDX event log bytes

(&self)

Source from the content-addressed store, hash-verified

701
702 /// Get TDX event log bytes
703 pub fn get_tdx_event_log_bytes(&self) -> Option<Vec<u8>> {
704 self.tdx_quote()
705 .map(|q| serde_json::to_vec(&q.event_log).unwrap_or_default())
706 }
707
708 /// Get TDX event log string with RTMR[0-2] payloads stripped to reduce size.
709 /// Only digests are kept for boot-time events; runtime events (RTMR3) retain full payload.

Callers

nothing calls this directly

Calls 1

tdx_quoteMethod · 0.45

Tested by

no test coverage detected