SmartCardTransport
class SmartCardTransport @JvmOverloads constructor(channel: CardChannel, val supportsExtendedLength: Boolean = false) : ApduTransport, AutoCloseable
Sends APDUs through a connected PC/SC card channel.
The command bytes and response bytes pass through unchanged. This transport does not inspect chip data or decide whether a response is trustworthy. It owns the connected card session: close disconnects the card without requesting a reset.
PC/SC readers often support extended-length APDUs, but support depends on the reader, driver and card. Set supportsExtendedLength to true only when the reader path is known to carry them. The default is conservative and reports short APDUs only.
Blocking PC/SC calls run on the calling thread, including inside transceive.
Experimental: see ExperimentalTesseraChipApi.
Since
1.0.0