Package opencard.core.util
Interface APDUTracer
-
- All Known Implementing Classes:
APDUTracerLogAdapter
,SLF4JAPDUTracer
,StreamingAPDUTracer
public interface APDUTracer
Interface used to trace the communication with a smart card
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
traceAnswerToReset(SlotChannel sc, CardID cardID)
Trave resetvoid
traceCommandAPDU(SlotChannel sc, CommandAPDU capdu)
Trace a command APDU send over the defined slot channelvoid
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 unknowncapdu
- 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 unknownrapdu
- the response APDU
-
traceAnswerToReset
void traceAnswerToReset(SlotChannel sc, CardID cardID)
Trave reset- Parameters:
sc
- the slot channel or null if unknowncardID
- the CardID of the card, containing the ATR
-
-