PcscReaders

Lists PC/SC readers and opens a card session in a selected reader.

The default JDK TerminalFactory may provide no terminals on a host that has no usable PC/SC service. Reader listing then returns an empty list. Operations that need a reader wrap failures in ApduTransportException.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Functions

Link copied to clipboard
fun connect(readerName: String, waitTimeoutMillis: Long = DEFAULT_WAIT_TIMEOUT_MILLIS, supportsExtendedLength: Boolean = false): SmartCardTransport

Waits for a card in the named reader, then connects with any available protocol and uses its basic channel.

Link copied to clipboard

Returns the names of the PC/SC readers exposed by the default JDK terminal factory.