|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.Permission
java.security.BasicPermission
javacardx.spi.framework.JCREPermission
@TransactionType(value=NOT_SUPPORTED) public final class JCREPermission
This class is for Java Card runtime environment (RE) permissions. A JCREPermission contains a name (also referred to as a "target name") but no actions list; the named permission is either granted or not.
The target name is the name of the JCREPermission (see below). The naming convention follows the hierarchical property naming convention. Also, an asterisk may appear at the end of the name, following a ".", or by itself, to signify a wildcard match. For example: "callPermJCREEPO.*" or "*" is valid, "*callPermJCREEPO" or "c*O" is not valid.
The possible target names are "callTempJCREEPO.CLASSIC", "callPermJCREEPO.{class name}", "callPermJCREEPO.CLASSIC", "callPermJCREEPO.EXTENDED", "callPermJCREEPO.CARDMGMT". Their meaning is defined as follows:
APDU
byte
arraybArray
- parameter to the Applet.install(byte[], short, byte)
methodAID
Runtime
EventRegistry
ServiceRegistry
TaskRegistry
Permission
PrintStream
assigned to System.err
and System.out
ProtectionDomain
CryptoProvider
Application
DeploymentUnit
DeploymentUnitLoader
BasicPermission
,
Permission
,
AccessController
,
AccessControlException
,
JCSystem
Field Summary | |
---|---|
static String |
NAME_CALL_PERM_JCRE_EPO
The "callPermJCREEPO" name. |
static String |
NAME_CALL_PERM_JCRE_EPO_CARDMGMT
The "callPermJCREEPO.CARDMGMT" name. |
static String |
NAME_CALL_PERM_JCRE_EPO_CLASSIC
The "callPermJCREEPO.CLASSIC" name. |
static String |
NAME_CALL_PERM_JCRE_EPO_EXTENDED
The "callPermJCREEPO.EXTENDED" name. |
static String |
NAME_CALL_TEMP_JCRE_EPO_CLASSIC
The "callTempJCREEPO.CLASSIC" name. |
Constructor Summary | |
---|---|
JCREPermission(String name)
Creates a new JCREPermission with the specified name. |
Method Summary |
---|
Methods inherited from class java.security.BasicPermission |
---|
equals, getActions, hashCode, implies |
Methods inherited from class java.security.Permission |
---|
getName, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String NAME_CALL_TEMP_JCRE_EPO_CLASSIC
public static final String NAME_CALL_PERM_JCRE_EPO
public static final String NAME_CALL_PERM_JCRE_EPO_CLASSIC
public static final String NAME_CALL_PERM_JCRE_EPO_EXTENDED
public static final String NAME_CALL_PERM_JCRE_EPO_CARDMGMT
Constructor Detail |
---|
public JCREPermission(String name)
name
- the name of the JCREPermission.
NullPointerException
- if name
is null
.
IllegalArgumentException
- if name
is not a recognized target name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |