Enclave Boundary Messages
This file defines the messages for communicating with a trusted application’s entry-points: initialization, (re-entrant) execution input and output, and finalization.
HostConfig
A configuration message for the EnclaveManager to communicate with the attestation daemon.
EnvironmentVariable
Represents an environment variable’s value to communicate a baseline
environment to getenv
.
LoggingConfig
Initialization settings for the logging system in an enclave.
EnclaveLoadConfig
The configuration required to load an enclave. This message is extended for each backend supported by the Asylo primitive library. asylo::EnclaveManager::LoadEnclave is passed an instance of this message for loading enclaves in Asylo.
EnclaveConfig
Configuration passed to an enclave during initialization. An enclave’s
configuration (an instance of this message) is part of its identity. The base
configuration included in EnclaveConfig
is used to support platform
capabilities such as the logging API and POSIX APIs.
EnclaveInput
Input passed to an enclave after it has been initialized with EnclaveConfig.
EnclaveFinal
Input passed to an enclave during finalization.
EnclaveOutput
An output message produced by an enclave for an invocation of its Run
entry-point. This message can be used to send information out of the enclave
back to an untrusted caller.