| java.lang.Object com.sun.satsa.acl.ACLPermissions com.sun.satsa.acl.APDUPermissions
APDUPermissions | public class APDUPermissions extends ACLPermissions (Code) | | This class represents a set of APDU permissions.
|
Method Summary | |
public void | checkPermission(int apdu) Verifies that the MIDlet have permission for this APDU command. | public int | preparePIN(int id, int uid, int action) Returns APDU header for given PIN and PIN operation.
Initializes internal variables, verifies that operation is
supported and permitted.
Parameters: id - PIN identifier. Parameters: uid - unblocking PIN identifier. Parameters: action - PIN operation code. |
APDUPermissions | public APDUPermissions(ACSlot parent)(Code) | | Constructs new object.
Parameters: parent - parent ACFile object. |
checkPermission | public void checkPermission(int apdu)(Code) | | Verifies that the MIDlet have permission for this APDU command.
Parameters: apdu - the command header. throws: SecurityException - if access denied |
preparePIN | public int preparePIN(int id, int uid, int action)(Code) | | Returns APDU header for given PIN and PIN operation.
Initializes internal variables, verifies that operation is
supported and permitted.
Parameters: id - PIN identifier. Parameters: uid - unblocking PIN identifier. Parameters: action - PIN operation code. APDU header encoded as integer. throws: java.lang.SecurityException - if access denied |
|
|