Method Summary |
|
void | clean() Does cleaning of the object. |
void | closeChannel(int channel) This method is used to close connection with the card. |
byte[] | exchangeApdu(Handle h, byte[] commandAPDU) Exchange an Apdu with a CAD.
Parameters: h - Handle of the connection. Parameters: commandAPDU - APDU data in byte array form. |
void | freeSystemResources() Frees up the resource that was used by this slot. |
byte[] | getATR() This method returns the ATR received from the card that this
CadClient object is used to communicate with.
ATR information received from the card at startup orreset. |
public int | getCardSessionId() Returns the card session identifier. |
byte[] | getFCI() This method returns the FCI received from the card. |
void | initACL() Initializes ACL for the slot. |
boolean | isAlive() Checks if the the connection is still live or not. |
int | selectApplication(boolean forSAT, byte[] selectAPDU) This method is called when there is a connection creation is
in progress
and specifically card application selection is required.
This method also does the channel management part. |