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

Method into_v1

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

Project any version into the V1 attestation schema.

(self)

Source from the content-addressed store, hash-verified

440
441 /// Project any version into the V1 attestation schema.
442 pub fn into_v1(self) -> AttestationV1 {
443 match self {
444 Self::V0 { attestation } => attestation.into_v1(),
445 Self::V1 { attestation } => attestation,
446 }
447 }
448
449 /// Strip data for certificate embedding (e.g. keep RTMR3 event logs only).
450 pub fn into_stripped(self) -> Self {

Calls

no outgoing calls

Tested by

no test coverage detected