|
Java Card v2.2.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceException | |
javacard.framework.service | Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components. |
Uses of ServiceException in javacard.framework.service |
Methods in javacard.framework.service that throw ServiceException | |
boolean |
SecurityService.isAuthenticated(short principal)
Checks whether or not the specified principal is currently authenticated. |
boolean |
SecurityService.isChannelSecure(byte properties)
Checks whether a secure channel is established between the card and the host for the ongoing session that guarantees the indicated properties. |
boolean |
SecurityService.isCommandSecure(byte properties)
Checks whether a secure channel is in use between the card and the host for the ongoing command that guarantees the indicated properties. |
void |
Dispatcher.addService(Service service,
byte phase)
Atomically adds the specified service to the dispatcher registry for the specified processing phase. |
void |
Dispatcher.removeService(Service service,
byte phase)
Atomically removes the specified service for the specified processing phase from the dispatcher registry. |
Exception |
Dispatcher.dispatch(APDU command,
byte phase)
Manages the processing of the command in the APDU object. |
static void |
ServiceException.throwIt(short reason)
Throws the Java Card runtime environment-owned instance of ServiceException with the
specified reason. |
short |
BasicService.receiveInData(APDU apdu)
Receives the input data for the command in the APDU object if the input
has not already been
received. |
void |
BasicService.setProcessed(APDU apdu)
Sets the processing state of the command in the APDU object to
processed. |
void |
BasicService.setOutputLength(APDU apdu,
short length)
Sets the output length of the outgoing response for the command in the APDU object. |
short |
BasicService.getOutputLength(APDU apdu)
Returns the output length for the command in the APDU object. |
short |
BasicService.getStatusWord(APDU apdu)
Returns the response status word for the command in the APDU object. |
boolean |
BasicService.fail(APDU apdu,
short sw)
Sets the processing state for the command in the APDU object
to processed, and indicates that the
processing has failed. |
boolean |
BasicService.succeed(APDU apdu)
Sets the processing state for the command in the APDU object
to processed, and indicates that the
processing has succeeded. |
boolean |
BasicService.succeedWithStatusWord(APDU apdu,
short sw)
Sets the processing state for the command in the APDU object
to processed, and indicates that the
processing has partially succeeded. |
byte |
BasicService.getP1(APDU apdu)
Returns the first parameter byte for the command in the APDU object. |
byte |
BasicService.getP2(APDU apdu)
Returns the second parameter byte for the command in the APDU object. |
Constructors in javacard.framework.service that throw ServiceException | |
Dispatcher(short maxServices)
Creates a Dispatcher with a designated maximum number of services. |
|
Java Card v2.2.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |