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

Method has_tdx

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

Check if TDX quote should be included

(&self)

Source from the content-addressed store, hash-verified

180
181 /// Check if TDX quote should be included
182 pub fn has_tdx(&self) -> bool {
183 match self {
184 Self::DstackTdx => true,
185 Self::DstackGcpTdx => true,
186 Self::DstackNitroEnclave => false,
187 }
188 }
189
190 /// Get TPM runtime event PCR index
191 pub fn tpm_runtime_pcr(&self) -> Option<u32> {

Callers 1

emit_runtime_eventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected