opencard.core.util
Interface APDUTracer


public interface APDUTracer

Interface used to trace the communication with a smart card


Method Summary
 void traceCommandAPDU(SlotChannel sc, CommandAPDU capdu)
          Trace a command APDU send over the defined slot channel
 void traceResponseAPDU(SlotChannel sc, ResponseAPDU rapdu)
          Trace a response APDU received over the defined slot channel
 

Method Detail

traceCommandAPDU

void traceCommandAPDU(SlotChannel sc,
                      CommandAPDU capdu)
Trace a command APDU send over the defined slot channel

Parameters:
sc - the slot channel or null if unknown
capdu - the command APDU

traceResponseAPDU

void traceResponseAPDU(SlotChannel sc,
                       ResponseAPDU rapdu)
Trace a response APDU received over the defined slot channel

Parameters:
sc - the slot channel or null if unknown
rapdu - the response APDU