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

Function patch_report_data

guest-agent/src/rpc_service.rs:814–819  ·  view source on GitHub ↗
(
            attestation: &VersionedAttestation,
            report_data: [u8; 64],
        )

Source from the content-addressed store, hash-verified

812 }
813
814 fn patch_report_data(
815 attestation: &VersionedAttestation,
816 report_data: [u8; 64],
817 ) -> AttestationV1 {
818 attestation.clone().into_v1().with_report_data(report_data)
819 }
820
821 impl PlatformBackend for TestSimulatorPlatform {
822 fn attestation_for_info(&self) -> Result<VersionedAttestation> {

Callers 3

quote_responseMethod · 0.85
attest_responseMethod · 0.85

Calls 3

with_report_dataMethod · 0.80
into_v1Method · 0.80
cloneMethod · 0.80

Tested by

no test coverage detected