Site Tools

Sidebar

Smart Card Solution

User Manual

JavaCard API Samples

Java Card Specification

Knowledge Sharing

javacard:jcre:6.2.8.6_accessing_shareable_interface_methods

6.2.8.6 Accessing Shareable Interface Methods

Bytecodes:

invokeinterface

  • If the object is owned by an applet in the currently active context, access is allowed.
  • Otherwise, if the object is owned by a non-multiselectable applet instance that is not in the context of the currently selected applet instance, and that is active on another logical channel, access is denied. See Section 4.2, Multiselectable Applets.
  • Otherwise, if the object's class implements a Shareable interface, and if the interface being invoked extends the Shareable interface, access is allowed. Context is switched to the object owner's context.
  • Otherwise, if the Java Card RE is the currently active context, access is allowed. Context is switched to the object owner's context.
  • Otherwise, access is denied.
javacard/jcre/6.2.8.6_accessing_shareable_interface_methods.txt · Last modified: 2017/05/13 04:08 (external edit)