Rate This Document
Findability
Accuracy
Completeness
Readability

Basic Java Functions in the Confidential OS

Case No.

4.2.11

Test Objective

Verify that basic Java functions are available in the confidential OS.

Test Networking

See Test Networking.

Prerequisites

  1. The confidential OS has been deployed.
  2. The Java version is BiSheng JDK 8.

Test Procedure

  1. Log in to the REE OS and load the TrustZone REE patch tzdriver. (See Expected Result 1.)

    insmod tzdriver

    /usr/bin/teecd &

    insmod tee_upgrade.ko

    /usr/bin/teecd &

  2. Install JDK.

    tee_teleport -s jdk.sec -t java

  3. Install the application. (See Expected Result 2.)

    tee_teleport -c test.sec

  4. Run the application. (See Expected Result 3.)

    tee_teleport -r TeeJava.class -i sessionID.txt

  5. Output the file. (See Expected Result 4.)

    tee_teleport --getlog -i sessionID.txt

Expected Result

  1. The REE patch is loaded and no error information is displayed.
  2. A sessionID.txt file is generated in the current directory.
  3. The running is successful and the command output reads "0."
  4. The running is successful and the command output reads "0." The tee.log file is generated in the current directory.

Test Result

  

Remarks