Developer Guide

  • 10/27/2020
  • Public Content

Shared Session

When the application creates a shared session by calling
with the
flag, the client service creates a new session in the virtual machine (VM) only if there is not an already existing shared session for the given trusted application, and assigns a new session handle for the application. If a shared session already exists for the trusted application, the client service returns the existing session ID and adds the processInfo to the owners list.
The owners list (
) is limited to 20 owners.
When a shared session is created, all host applications that create a shared session send their data to the same instance of the trusted application.
When the application closes the session by calling
with the given session handle, the session in the VM stays alive to serve other applications.
To prevent security issues, the trusted application manifest contains the field During trusted application installation (after the firmware accepts the trusted application) the client service gets this field via GetAppletPropeties() and indicates, in the Applet manager, that users can create shared sessions . If the value of this field is false, the client service must fail with the appropriate error if the user tries to create a shared session.
Shared sessions can be used by multiple applications, but lack the ability to use Trusted Application-to-Host events.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804