I am new with Intel SGX development and I am developing an application on Intel SGX. I want to create a Public/Private key in my enclave. I used the function sgx_ecc256_create_key_pair as mentioned here
How could I get my public key to my application (to the outside of the enclave)?
I want to encrypt data with this public key and send it to the enclave to decrypt it by the private key created in the enclave.