Asylo
Public Member Functions | Protected Member Functions | Friends | List of all members
asylo::EnclaveLoader Class Referenceabstract

An abstract enclave loader. More...

#include <enclave_manager.h>

Public Member Functions

virtual ~EnclaveLoader ()=default
 

Protected Member Functions

virtual StatusOr< std::unique_ptr< EnclaveClient > > LoadEnclave (absl::string_view name) const
 
virtual StatusOr< std::unique_ptr< EnclaveClient > > LoadEnclave (absl::string_view name, void *base_address, const size_t enclave_size, const EnclaveConfig &config) const
 
virtual EnclaveLoadConfig GetEnclaveLoadConfig () const =0
 

Friends

class EnclaveManager
 

Detailed Description

An abstract enclave loader.

Host applications must load an enclave before using it. This is accomplished via an architecture specific implementation of the EnclaveLoader interface.

Constructor & Destructor Documentation

◆ ~EnclaveLoader()

virtual asylo::EnclaveLoader::~EnclaveLoader ( )
virtualdefault

Member Function Documentation

◆ GetEnclaveLoadConfig()

virtual EnclaveLoadConfig asylo::EnclaveLoader::GetEnclaveLoadConfig ( ) const
protectedpure virtual

◆ LoadEnclave() [1/2]

virtual StatusOr<std::unique_ptr<EnclaveClient> > asylo::EnclaveLoader::LoadEnclave ( absl::string_view  name) const
inlineprotectedvirtual

◆ LoadEnclave() [2/2]

virtual StatusOr<std::unique_ptr<EnclaveClient> > asylo::EnclaveLoader::LoadEnclave ( absl::string_view  name,
void *  base_address,
const size_t  enclave_size,
const EnclaveConfig &  config 
) const
inlineprotectedvirtual

Friends And Related Function Documentation

◆ EnclaveManager

friend class EnclaveManager
friend

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