主权项 |
1. A computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to implement a distributed trusted execution environment, the implementing comprising:
receiving, by a trusted execution environment proxy executed within a first trusted execution environment of a device, a request to establish a session between a client application executed within an operating system environment of the device and a trusted application executed within a second trusted execution environment of a secure element, wherein the request to establish the session is received from the client application; selecting, by the trusted execution environment proxy, the trusted application; sending, by the trusted execution environment proxy, the request to establish the session between the client application and the trusted application to the trusted application; receiving, by the trusted execution environment proxy, a response to the request to establish the session from the trusted application; and sending, by the trusted execution environment proxy, the response to the request to establish the session to the client application, wherein the session between the client application and the trusted application is established through the trusted execution environment proxy. |