Rate This Document
Findability
Accuracy
Completeness
Readability

Loading the TA and CA

This section uses the CA and TA included in the helloworld demo case generated in Compiling CAs and TAs as an example.

  1. Copy the CA and TA to the specified directory.
    1
    2
    3
    4
    mkdir -p /vendor/bin
    cp -rf itrustee_sdk/test/CA/helloworld/demo_hello /vendor/bin
    mkdir -p /data
    cp -rf itrustee_sdk/test/TA/helloworld/*.sec /data
    

    The target directory is specified by the TA and CA code. For the TA and CA code, you need to specify the actual path for storing the TA and CA. For details about how to use the demo for GP APIs, see Confidential Computing TrustZone Kit RSA Demo Developer Guide.

  2. Run the CA.
    1
    /vendor/bin/demo_hello
    

    The CA must run in an absolute path.