Safeheron-SGX-Native-Development-Framework v1.2.0
Loading...
Searching...
No Matches
ssgx::utils_t::EnclaveInfo Class Reference

Used to store some information related to the running enclave. (the eid corresponding to the running enclave) More...

#include <ssgx_utils_t_enclave_info.h>

Public Member Functions

void SetEnclaveEid (sgx_enclave_id_t eid)
 Set eid.
 
sgx_enclave_id_t GetEnclaveEid ()
 Get eid.
 

Static Public Member Functions

static EnclaveInfoGetCurrentEnclave ()
 Singleton Pattern.
 

Detailed Description

Used to store some information related to the running enclave. (the eid corresponding to the running enclave)

Member Function Documentation

◆ GetCurrentEnclave()

static EnclaveInfo & ssgx::utils_t::EnclaveInfo::GetCurrentEnclave ( )
static

Singleton Pattern.

Returns
Global EnclaveInfo object

◆ GetEnclaveEid()

sgx_enclave_id_t ssgx::utils_t::EnclaveInfo::GetEnclaveEid ( )

Get eid.

Returns
The eid corresponding to the running enclave

◆ SetEnclaveEid()

void ssgx::utils_t::EnclaveInfo::SetEnclaveEid ( sgx_enclave_id_t eid)

Set eid.

Parameters
[in]eidThe eid corresponding to the running enclave

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