Visible to Intel only — GUID: GUID-5A020062-4538-4A35-8326-A0509DF37F89
Visible to Intel only — GUID: GUID-5A020062-4538-4A35-8326-A0509DF37F89
TEE Management API Sample
This sample shows how you can use the Intel® DAL TEE Management Client API to load an Admin Command Package (ACP).
The sample also demonstrates a simple flow of the Query TEE Metadata interface which is used to retrieve version numbers and general information on the Intel DAL VM from the firmware.
Loading Admin Command Package (ACP) Sample Flow
- Open a Security Domain (SD) session.
- Read the Admin Command Package (ACP) binary file as a blob.
- Send an Admin Command Package.
- Close the SD session.
Note: The TEE Management sample communicates with an Intel DAL Security Domain (SD). In order to run the host application, the user needs to fill in the ACP path and the SD ID within the main class of the host application. The UUID of the Intel Security Domain (default SD) is BD2FBA36A2D64DAB9390FF6DA2FEF31C.
Following is the section of the sample code where these need to be filled in:
// The path to the Admin Command Package (ACP) file. char* acpPath = ""; // The UUID of the DAL Security Domain (SD). char* sdId = "";
Query TEE Metadata Sample Flow
- Query the TEE Metadata.
- Parse the Metadata output structure.