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

Method decode_tdx_quote

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

Decode the quote

(&self)

Source from the content-addressed store, hash-verified

934impl<T> Attestation<T> {
935 /// Decode the quote
936 pub fn decode_tdx_quote(&self) -> Result<Quote> {
937 let Some(tdx_quote) = self.tdx_quote() else {
938 bail!("tdx_quote not found");
939 };
940 Quote::parse(&tdx_quote.quote)
941 }
942
943 fn find_event(&self, name: &str) -> Result<RuntimeEvent> {
944 for event in &self.runtime_events {

Callers

nothing calls this directly

Calls 1

tdx_quoteMethod · 0.45

Tested by

no test coverage detected