com.ibm.opencard.script
Interface APDUSender
- All Known Implementing Classes:
- MFCScriptService
- public abstract interface APDUSender
An interface for a service that exchanges APDUs with a smartcard.
- Version:
- $Id: APDUSender.java,v 1.1 1999/12/02 16:06:05 damke Exp $
sendCommand
public ResponseAPDU sendCommand(CommandAPDU command)
throws CardTerminalException
- Sends a command to the smartcard and returns the response.
- Parameters:
command - the APDU to send to the smartcard- Returns:
- the APDU responded by the smartcard
- Throws:
- CardTerminalException - if the underlying card terminal encountered an error
when communicating with the smartcard
|