Open Enclave  0.7.x
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.

the enclave handle.