How to access web services or external resources from Intel® Software Guard Extensions (Intel® SGX) applications.
Unable to determine how to make Representational State Transfer (REST) or Hypertext Transfer Protocol (HTTP) calls from inside an SGX enclave.
Attempting to communicate directly with an enclave from an external resource.
An enclave can communicate only with the untrusted application that it is linked with. This communication happens only inside the platform using Intel® SGX technology, ecalls and ocalls.
Create ocalls from the enclave to the untrusted application that statically links the enclave. Within the ocall, the untrusted application accesses the external resource on behalf of the enclave.
Refer to the Intel® SGXDeveloper Reference for your OS for more information on implementing ocalls and ecalls.
- The latest SGX Developer Reference for Linux* is in Intel® SGX Linux Latest Docs
- The Intel SGX Developer Reference for Windows* is distributed with the SGX SDK for Windows installation package