enclave.go 565 字节
Newer Older
1 2 3 4 5 6 7 8 9
package configs

// Define the types of enclave hardware
const (
	EnclaveHwDefault  string = ""
	EnclaveHwIntelSgx string = "intelSgx"
)

type Enclave struct {
10 11 12 13 14 15 16
	Type                  string `json:"type"`
	Path                  string `json:"path"`
	Args                  string `json:"args,omitempty"`
	RaType                string `json:"ra_type,omitempty"`
	RaEpidSpid            string `json:"ra_epid_spid,omitempty"`
	RaEpidSubscriptionKey string `json:"ra_epid_subscription_key,omitempty"`
	RaEpidQuoteType       string `json:"ra_epid_quote_type,omitempty"`
17
}