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

Method is_composable

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

Returns true if the attestation mode supports composability (OS image + runtime loadable application)

(&self)

Source from the content-addressed store, hash-verified

207
208 /// Returns true if the attestation mode supports composability (OS image + runtime loadable application)
209 pub fn is_composable(&self) -> bool {
210 match self {
211 Self::DstackTdx => true,
212 Self::DstackGcpTdx => true,
213 Self::DstackNitroEnclave => false,
214 }
215 }
216}
217
218/// The content type of a quote. A CVM should only generate quotes for these types.

Callers 2

decode_app_info_exMethod · 0.80
quote_with_app_idMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected