
GlobalPlatform Technology TEE Trusted User Interface Low-level API Version 1.0.1 Public Release October 2018 Document Reference: GPD_SPE_055 Copyright 2018, GlobalPlatform, Inc. All Rights Reserved. Recipients of this document are invited to submit, with their comments, notification of any relevant patents or other intellectual property rights (collectively, “IPR”) of which they may be aware which might be necessarily infringed by the implementation of the specification or other work product set forth in this document, and to provide supporting documentation. The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly prohibited. TEE Trusted User Interface Low-level API – Public Release v1.0.1 THIS SPECIFICATION OR OTHER WORK PRODUCT IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NON-INFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY IMPLEMENTATION OF THIS SPECIFICATION OR OTHER WORK PRODUCT SHALL BE MADE ENTIRELY AT THE IMPLEMENTER’S OWN RISK, AND NEITHER THE COMPANY, NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER DIRECTLY OR INDIRECTLY ARISING FROM THE IMPLEMENTATION OF THIS SPECIFICATION OR OTHER WORK PRODUCT. Copyright 2018 GlobalPlatform, Inc. All Rights Reserved. The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly prohibited. TEE Trusted User Interface Low-level API – Public Release v1.0.1 3 / 77 Contents 1 Introduction ............................................................................................................................ 8 1.1 Audience ............................................................................................................................................... 8 1.2 IPR Disclaimer....................................................................................................................................... 8 1.3 References ............................................................................................................................................ 9 1.4 Terminology and Definitions ................................................................................................................ 10 1.5 Abbreviations and Notations ............................................................................................................... 12 1.6 Revision History .................................................................................................................................. 13 2 Trusted User Interface Objectives ....................................................................................... 15 2.1 Target .................................................................................................................................................. 15 2.2 Purpose ............................................................................................................................................... 15 2.3 Functionalities and Use Cases............................................................................................................ 16 3 Trusted User Interface Principles ........................................................................................ 17 3.1 Overall Architecture ............................................................................................................................. 17 3.2 Event Loop and Peripherals ................................................................................................................ 19 3.2.1 Peripherals ................................................................................................................................... 19 3.2.1.1 Access to Peripherals from a TA ......................................................................................... 19 3.2.1.2 Multiple Access to Peripherals (Informative) ....................................................................... 19 3.2.2 Event Loop ................................................................................................................................... 19 3.2.3 Peripheral State ........................................................................................................................... 19 3.2.4 Handles ........................................................................................................................................ 19 3.3 Peripheral State Table ........................................................................................................................ 19 3.3.1 Peripheral Name .......................................................................................................................... 19 3.3.2 Firmware Information ................................................................................................................... 19 3.3.3 Manufacturer ................................................................................................................................ 19 3.3.4 Flags ............................................................................................................................................. 19 3.3.5 Exclusive Access ......................................................................................................................... 19 3.4 Operating System Pseudo-peripheral ................................................................................................. 19 3.4.1 State Table ................................................................................................................................... 19 3.4.2 Events .......................................................................................................................................... 19 3.5 Security Indicator ................................................................................................................................ 20 3.6 TUI Session ......................................................................................................................................... 20 3.7 Image Formats .................................................................................................................................... 21 3.8 Power and OS Events Management ................................................................................................... 21 3.9 Display Orientation .............................................................................................................................. 22 3.10 Specification Version Number Property .............................................................................................. 22 3.11 Structure Versions ............................................................................................................................... 23 4 Trusted User Interface Low-level API .................................................................................. 24 4.1 Implementation Properties .................................................................................................................. 24 4.2 Header File .......................................................................................................................................... 25 4.2.1 API Version .................................................................................................................................. 25 4.2.2 Version Compatibility Definitions.................................................................................................. 26 4.3 Data Constants.................................................................................................................................... 28 4.3.1 Return Codes ............................................................................................................................... 28 4.3.2 Maximum Sizes ............................................................................................................................ 28 4.3.3 TEE_EVENT_TYPE ..................................................................................................................... 28 4.3.4 TEE_EVENT_TUI_BUTTON_ACTION ........................................................................................ 29 4.3.5 TEE_EVENT_TUI_BUTTON_TYPE ............................................................................................ 30 4.3.6 TEE_EVENT_TUI_KEY_ACTION................................................................................................ 31 Copyright 2018 GlobalPlatform, Inc. All Rights Reserved. The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly prohibited. 4 / 77 TEE Trusted User Interface Low-level API – Public Release v1.0.1 4.3.7 TEE_EVENT_TUI_REE_TYPE.................................................................................................... 32 4.3.8 TEE_EVENT_TUI_TEE_TYPE .................................................................................................... 33 4.3.9 TEE_EVENT_TUI_TOUCH_ACTION .........................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages77 Page
-
File Size-