Public Member Functions | Public Attributes | List of all members
asylo::EnclaveManagerOptions::ConfigServerConnectionAttributes Struct Reference

Configuration server connection attributes. More...

#include <enclave_manager.h>

Collaboration diagram for asylo::EnclaveManagerOptions::ConfigServerConnectionAttributes:
Collaboration graph

Public Member Functions

 ConfigServerConnectionAttributes (std::string address, absl::Duration timeout)

Public Attributes

std::string server_address
absl::Duration connection_timeout

Detailed Description

Configuration server connection attributes.

A part of an enclave's configuration is expected to be the same across all enclaves running under a single instance of an OS. An Enclave manager can obtain such configuration from the Asylo daemon running on the system. Alternately, the creator of the enclave manager can directly provide such configuration to the enclave manager. To this end, an EnclaveManagerOptions instance either holds the information necessary for connecting to the config server, or holds a HostConfig proto. If the enclave manager is configured with an options object containing the server-connection information, the enclave manager obtains the necessary information by contacting the Asylo daemon. Else, the enclave manager directly uses the HostConfig info stored within the options structure.

The ConfigServerConnectionAttributes struct holds information necessary for contacting the config server running inside the Asylo daemon.

Constructor & Destructor Documentation

◆ ConfigServerConnectionAttributes()

asylo::EnclaveManagerOptions::ConfigServerConnectionAttributes::ConfigServerConnectionAttributes ( std::string  address,
absl::Duration  timeout 

Member Data Documentation

◆ connection_timeout

absl::Duration asylo::EnclaveManagerOptions::ConfigServerConnectionAttributes::connection_timeout

◆ server_address

std::string asylo::EnclaveManagerOptions::ConfigServerConnectionAttributes::server_address

The documentation for this struct was generated from the following file: