(&self, report_data: [u8; 64])
| 46 | } |
| 47 | |
| 48 | fn attest_response(&self, report_data: [u8; 64]) -> Result<AttestResponse> { |
| 49 | let attestation = Attestation::quote(&report_data).context("Failed to get attestation")?; |
| 50 | Ok(AttestResponse { |
| 51 | attestation: attestation.into_versioned().to_bytes()?, |
| 52 | }) |
| 53 | } |
| 54 | |
| 55 | fn emit_event(&self, event: &str, payload: &[u8]) -> Result<()> { |
| 56 | emit_runtime_event(event, payload) |
nothing calls this directly
no test coverage detected