Project any version into the V1 attestation schema.
(self)
| 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 { |
no outgoing calls
no test coverage detected