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

Method get_quote

guest-agent/src/rpc_service.rs:326–329  ·  view source on GitHub ↗
(self, request: RawQuoteArgs)

Source from the content-addressed store, hash-verified

324 }
325
326 async fn get_quote(self, request: RawQuoteArgs) -> Result<GetQuoteResponse> {
327 let report_data = pad64(&request.report_data).context("Report data is too long")?;
328 self.state.quote_response(report_data)
329 }
330
331 async fn emit_event(self, request: EmitEventArgs) -> Result<()> {
332 self.state.emit_event(&request.event, &request.payload)

Callers 3

mainFunction · 0.45

Calls 2

pad64Function · 0.70
quote_responseMethod · 0.45

Tested by

no test coverage detected