OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

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 $

Method Summary
 ResponseAPDU sendCommand(CommandAPDU command)
          Sends a command to the smartcard and returns the response.
 

Method Detail

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