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 (const std::string &name) const
 
virtual StatusOr< std::unique_ptr< EnclaveClient > > LoadEnclave (const std::string &name, void *base_address) 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

◆ LoadEnclave() [1/2]

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

◆ LoadEnclave() [2/2]

virtual StatusOr<std::unique_ptr<EnclaveClient> > asylo::EnclaveLoader::LoadEnclave ( const std::string &  name,
void *  base_address 
) const
protectedpure virtual

Friends And Related Function Documentation

◆ EnclaveManager

friend class EnclaveManager
friend

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