Skip to content

Commit a9b2060

Browse files
shaojunwangsuperajun-wsj
authored andcommitted
Update README.md
1 parent a23870f commit a9b2060

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Occlum and Gramine libOS solutions run the entire Java application inside the en
1010

1111
Teaclave Java TEE SDK provides seven components:
1212

13-
- Teaclave Java TEE SDK Host.jar, provides API to create and destroy enclave instances, enclave service loading and unloading, remote attestation quote generation, and verification.
13+
- Teaclave Java TEE SDK Host Jar, provides API to create and destroy enclave instances, enclave service loading and unloading, remote attestation quote generation, and verification.
1414

15-
- Teaclave Java TEE SDK Enclave.jar, makes java native image runs in sgx enclave environment, and provides a stub between host and enclave for their interaction.
15+
- Teaclave Java TEE SDK Enclave Jar, makes java native image runs in sgx enclave environment, and provides a stub between host and enclave for their interaction.
1616

17-
- Teaclave Java TEE SDK Common.jar, provides an annotation for application, which helps to register user-defined interface parameters' type information for native image reflection. Also, it defines the interface between host and enclave for underlying interaction, and it's transparent for the application.
17+
- Teaclave Java TEE SDK Common Jar, provides an annotation for application, which helps to register user-defined interface parameters' type information for native image reflection. Also, it defines the interface between host and enclave for underlying interaction, and it's transparent for the application.
1818

1919
- Teaclave Java TEE SDK, provides all kinds of underlying JNI .so and building toolchains.
2020

@@ -26,7 +26,7 @@ Teaclave Java TEE SDK provides seven components:
2626

2727
<br />
2828
<div align="center">
29-
<img src="./docs/resources/JavaEnclave_Architecture.png" width = "400" height = "400" alt="Teaclave Java TEE SDK Architecture" align=center />
29+
<img src="./docs/resources/JavaEnclave_Architecture.png" width = "400" height = "450" alt="Teaclave Java TEE SDK Architecture" align=center />
3030
</div>
3131
<p align="center">Teaclave Java TEE SDK Architecture</p>
3232
<br />
@@ -37,12 +37,12 @@ A Java confidential computing application project based on Teaclave Java TEE SDK
3737

3838
<br />
3939
<div align="center">
40-
<img src="./docs/resources/JavaEnclave_Application_Dependency.png" width = "400" height = "300" alt="Teaclave Java TEE SDK Application Dependency" align=center />
40+
<img src="./docs/resources/JavaEnclave_Application_Dependency.png" width = "350" height = "240" alt="Teaclave Java TEE SDK Application Dependency" align=center />
4141
</div>
4242
<p align="center">Teaclave Java TEE SDK Application Dependency</p>
4343
<br />
4444
<div align="center">
45-
<img src="./docs/resources/JavaEnclave_Project_Structure.png" width = "400" height = "400" alt="Teaclave Java TEE SDK Project Structure" align=center />
45+
<img src="./docs/resources/JavaEnclave_Project_Structure.png" width = "300" height = "350" alt="Teaclave Java TEE SDK Project Structure" align=center />
4646
</div>
4747
<p align="center">Teaclave Java TEE SDK Project Structure</p>
4848
<br />
@@ -196,12 +196,12 @@ then we could run this sample: `OCCLUM_RELEASE_ENCLAVE=true java -cp host/target
196196

197197
## Four enclave types in Teaclave Java TEE SDK
198198

199-
### MOCK_IN_JVM mode
199+
#### MOCK_IN_JVM mode
200200

201201
`MOCK_IN_JVM` mode in Teaclave Java TEE SDK is a simulated mode, it doesn't need SGX hardware support. The host module and enclave module run in the same JVM environment.
202202
In essence, it's an SPI mechanism between host and enclave parts.
203203

204-
### MOCK_IN_SVM mode
204+
#### MOCK_IN_SVM mode
205205

206206
`MOCK_IN_SVM` mode in Teaclave Java TEE SDK is also a simulated mode, it doesn't need SGX hardware support. Compare with `MOCK_IN_JVM` mode, the enclave submodule
207207
will be compiled into a native image, and the host submodule run in a JVM environment. host part will load, create and invoke service defined in enclave by JNI native call.
@@ -210,7 +210,7 @@ will be compiled into a native image, and the host submodule run in a JVM enviro
210210

211211
`TEE_SDK` mode is a hardware mode, it must run on the platform with SGX2 hardware support. Compare with `MOCK_IN_SVM` mode, the enclave submodule also will be compiled into a native image, but it will be loaded and run in sgx enclave environment. The host part will run in a JVM environment, and both the host and enclave module will run in one process.
212212

213-
### EMBEDDED_LIB_OS mode
213+
#### EMBEDDED_LIB_OS mode
214214

215215
`EMBEDDED_LIB_OS` mode is also a hardware mode, it must run on the platform with SGX2 hardware support. Compare with `TEE_SDK` mode, the enclave submodule will be compiled into a jar file, and it will be loaded and run in an enclave with libOS Occlum, an inner alpine JVM runs based on this libOS. The host part runs in another JVM based on a normal environment. The two JVM instances co-existence and run in one process.
216216

2.31 KB
Loading
50 Bytes
Loading
-19.8 KB
Loading

0 commit comments

Comments
 (0)