Open Enclave  0.13.0

◆ oe_get_enclave()

oe_enclave_t* oe_get_enclave ( void  )

Obtains the enclave handle.

This function returns the enclave handle for the current enclave. The host obtains this handle by calling oe_create_enclave(), which passes the enclave handle to the enclave during initialization. The handle is an address inside the host address space. This pointer is opaque and is never dereferenced within the enclave. The corresponding structure definition (struct _oe_enclave) is not visible from any enclave headers.

Returns
the enclave handle.