Developer Guide

  • 10/27/2020
  • Public Content
Contents

Shared Session

When the application creates a shared session by calling
JHI_CreateSession
with the
JHI_SHARED_SESSION
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.
Note:
The owners list (
MAX_SESSION_OWNERS
) 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
JHI_CloseSession
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 applet.shared.session.support. 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.
Note:
Shared sessions can be used by multiple applications, but lack the ability to use Trusted Application-to-Host events.

Product and Performance Information

1

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 reserved 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