public interface SmartcardReader
Modifier and Type | Method and Description |
---|---|
void |
close()
Turns the printer's smartcard reader off, if present.
|
byte[] |
doCommand(String asciiHexData)
Sends a CT_DATA command to the printer's smartcard reader, if present.
|
byte[] |
getATR()
Sends a CT_ATR command to the printer's smartcard reader, if present.
|
byte[] getATR() throws ConnectionException
ConnectionException
- if an I/O error occurs.byte[] doCommand(String asciiHexData) throws ConnectionException
asciiHexData
- data to be sent to the smartcard using the CT_DATA card command.ConnectionException
- if an I/O error occurs.void close() throws ConnectionException
doCommand(String)
method.ConnectionException
- if an I/O error occurs.
© 2016 ZIH Corp. All Rights Reserved.