EnclaveClient class which provides methods for invoking enclave's entry points.
More...
|
EnclaveOutput | enterAndRun (EnclaveInput enclaveInput) |
| Enters the enclave and invokes its execution entry point. More...
|
|
EnclaveOutput | enterAndRun (EnclaveInput enclaveInput, ExtensionRegistry registry) |
| Enter the enclave and invokes its execution entry point. More...
|
|
void | close () |
| This function hands over control to the child class by calling closeNative(long) for cleaning up the native resources and memory. More...
|
|
EnclaveClient class which provides methods for invoking enclave's entry points.
◆ closeNative()
void com.asylo.client.EnclaveClient.closeNative |
( |
long |
pointer | ) |
|
|
inlineprotected |
◆ enterAndRun() [1/2]
EnclaveOutput com.asylo.client.EnclaveClient.enterAndRun |
( |
EnclaveInput |
enclaveInput | ) |
|
|
inline |
Enters the enclave and invokes its execution entry point.
This method uses a default protobuf ExtensionRegistry. Consider using enterAndRun(EnclaveInput, ExtensionRegistry) if you are expecting some result back otherwise you will have to serialize and deserialize again to get your extension from protobuf.
- Parameters
-
enclaveInput | Input to the enclave which will be used in invoking entry point method. |
- Returns
- Output from the enclave.
- Exceptions
-
◆ enterAndRun() [2/2]
EnclaveOutput com.asylo.client.EnclaveClient.enterAndRun |
( |
EnclaveInput |
enclaveInput, |
|
|
ExtensionRegistry |
registry |
|
) |
| |
|
inline |
Enter the enclave and invokes its execution entry point.
- Parameters
-
enclaveInput | Input to the enclave which will be used in invoking entry point method. |
registry | A user protobuf registry which will be used generate EnclaveOutput. |
- Returns
- Output from the enclave.
- Exceptions
-
The documentation for this class was generated from the following file: