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

Method digest

cc-eventlog/src/tdx.rs:69–74  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

67 }
68
69 pub fn digest(&self) -> Vec<u8> {
70 if let Some(runtime_event) = self.to_runtime_event() {
71 return runtime_event.sha384_digest().to_vec();
72 }
73 self.digest.clone()
74 }
75
76 pub fn is_runtime_event(&self) -> bool {
77 self.event_type == DSTACK_RUNTIME_EVENT_TYPE

Callers 15

calcComposeHashFunction · 0.45
verify_signature_simpleFunction · 0.45
replay_rtmrFunction · 0.45
to_keypair_secureFunction · 0.45
to_account_secureFunction · 0.45
toViemAccountSecureFunction · 0.45
replay_rtmrFunction · 0.45
toKeypairSecureFunction · 0.45
sha256HashFunction · 0.45

Calls 4

to_runtime_eventMethod · 0.80
to_vecMethod · 0.80
sha384_digestMethod · 0.80
cloneMethod · 0.80