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

Method get_app_id

ra-tls/src/traits.rs:37–39  ·  view source on GitHub ↗

Get the app id from the certificate

(&self)

Source from the content-addressed store, hash-verified

35
36 /// Get the app id from the certificate
37 fn get_app_id(&self) -> Result<Option<Vec<u8>>> {
38 self.get_extension_bytes(PHALA_RATLS_APP_ID)
39 }
40
41 /// Get app info
42 fn get_app_info(&self) -> Result<Option<AppInfo>> {

Callers 4

handle_prpc_implFunction · 0.80
validateMethod · 0.80
verify_gateway_peerFunction · 0.80

Implementers 3

cert.rsra-tls/src/cert.rs
rocket_helper.rsra-rpc/src/rocket_helper.rs
wavekv_sync.rsgateway/src/web_routes/wavekv_sync.rs

Calls 1

get_extension_bytesMethod · 0.80

Tested by 1

handle_prpc_implFunction · 0.64