Smart Card Solution
User Manual
- R502 Manual
JavaCard API Samples
- Algorithm
Java Card Specification
Knowledge Sharing
Smart Card Solution
User Manual
JavaCard API Samples
Java Card Specification
Knowledge Sharing
flags
The flags item is a mask of modifiers used to describe this interface or class. Valid values are shown in the following table:
Name
Value
ACC_INTERFACE
0x8
ACC_SHAREABLE
0x4
ACC_REMOTE
0x2
The ACC_INTERFACE flag indicates whether this interface_info or class_info structure represents an interface or a class. The value must be one if it represents an interface_info structure and zero if a class_info structure.
The ACC_SHAREABLE flag in an interface_info structure indicates whether this interface is shareable. The value of this flag must be one if and only if the interface is javacard.framework.Shareable interface or extends that interface directly or indirectly.
The ACC_SHAREABLE flag in a class_info structure indicates whether this class is shareable.<SUP>[7]</SUP> The value of this flag must be one if and only if this class or any of its superclasses implements an interface that is shareable.
The ACC_REMOTE flag indicates whether this class or interface is remote. The value of this flag must be one if and only if the class or interface satisfies the requirements defined in Section 2.2.6.1, Remote Classes and Remote Interfaces.
All other flag values are reserved. Their values must be zero.
interface_count
The interface_count item of the interface_info structure indicates the number of entries in the superinterfaces[] table item. The value represents the number of direct and indirect superinterfaces of this interface. Indirect superinterfaces are the set of superinterfaces of the direct superinterfaces. Valid values are between 0 and 14, inclusive.
The interface_count item of the class_info structure indicates the number of entries in the interfaces table item. The value represents the number of interfaces implemented by this class, including superinterfaces of those interfaces and potentially interfaces implemented by superclasses of this class. Valid values are between 0 and 15, inclusive.