|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaCardRMIConnection
This interface defines the Java Card RMI connection which can be used by J2ME applications to communicate with applications on a smart card using Java Card RMI protocol.
Field Summary | ||
---|---|---|
static short |
PINENTRY_CANCELLED
This status is returned to the calling J2ME application if the operation for PIN verification/change/disable/ enable/unblock was not successful because the user cancelled the PIN entry request. |
Method Summary | ||
---|---|---|
short |
changePin(int pinID)
A call to changePin method pops up a UI that requests the user for an old or existing PIN value and the new PIN value to change the value of the PIN. |
|
short |
disablePin(int pinID)
A call to disablePin method pops up a UI that requests the user to enter the value for the PIN that is to be disabled. |
|
short |
enablePin(int pinID)
A call to enablePin method pops up a UI that requests the user to enter the value for the PIN that is to be enabled. |
|
short |
enterPin(int pinID)
A call to enterPin method pops up a UI that requests the PIN from the user. |
|
Remote |
getInitialReference()
Returns the stub object for an initial remote reference. |
|
short |
unblockPin(int blockedPinID,
int unblockingPinID)
This is a high-level method that lets the J2ME application ask the user to enter the value for an unblocking PIN, and the new value for the blocked PIN and send these to the card. |
Methods inherited from interface javax.microedition.io.Connection |
---|
close |
Field Detail |
---|
static final short PINENTRY_CANCELLED
Method Detail |
---|
Remote getInitialReference()
short enterPin(int pinID) throws RemoteException
pinID
- the type of PIN the implementation is suppose to prompt the user to enter.
RemoteException
- - is thrown if the PIN could not be communicated to the card or an exception is thrown by the card in response to the PIN entry.
SecurityException
- - is thrown if the J2ME application does not have appropriate rights to ask for PIN verification.
UnsupportedOperationException
- - is thrown if the implementation does not
support this method.short changePin(int pinID) throws RemoteException
pinID
- the type of PIN the implementation is suppose to prompt the user to change.
RemoteException
- - is thrown if the PIN could not be communicated to the card or an exception is thrown by the card in response to the PIN entry.
SecurityException
- - is thrown if the J2ME application does not have appropriate rights to ask for changing the PIN value.
UnsupportedOperationException
- - is thrown if the implementation does not support this method.short disablePin(int pinID) throws RemoteException
pinID
- the type of PIN the implementation is required to prompt the user to enter.
RemoteException
- - is thrown if the PIN could not be communicated to the card or an exception is thrown by the card in response to the PIN entry.
SecurityException
- - is thrown if the J2ME application does not have appropriate rights to ask for disabling the PIN.
UnsupportedOperationException
- - is thrown if the implementation does not support this method.short enablePin(int pinID) throws RemoteException
pinID
- the type of PIN the implementation is required to prompt the user to enter.
RemoteException
- - is thrown if the PIN could not be communicated to the card or an exception is thrown by the card in response to the PIN entry.
SecurityException
- - is thrown if the J2ME application does not have appropriate rights to ask for enabling the PIN.
UnsupportedOperationException
- - is thrown if the implementation does not support this method.short unblockPin(int blockedPinID, int unblockingPinID) throws RemoteException
blockedPinID
- the ID of PIN that is to be unblocked.unblockingPinID
- the ID of unblocking PIN.
RemoteException
- - is thrown if the PIN could not be communicated to the card or an exception is thrown by the card in response to the PIN entry.
SecurityException
- - is thrown if the J2ME application does not have appropriate rights to ask for unblocking the PIN.
UnsupportedOperationException
- - is thrown if the implementation does not support this method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal