|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CardAccessor
The CardAccessor interface represents a generic smartcard communication
API. The interface based definition makes it platform and framework
independent.
This interface is used by Java Card RMI stubs to access the smart card.
| Method Summary | |
|---|---|
void |
closeCard()
This method closes and resets the card |
byte[] |
exchangeAPDU(byte[] sendData)
This method sends the specified data to the smartcard, waits for the response and returns the response in the return data. |
| Method Detail |
|---|
byte[] exchangeAPDU(byte[] sendData)
throws java.io.IOException
sendData - the ISO 7816-4 formatted command APDU data with 5 bytes of header
followed by the command data.
java.io.IOException - if communication error occurs
void closeCard()
throws java.lang.Exception
java.lang.Exception - Exception with a message about the problem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||