Package-level declarations

Types

Link copied to clipboard

Represents the status of the smart card in the reader.

Link copied to clipboard
class CcidDriver(usbManager: UsbManager, device: UsbDevice)

A driver for USB CCID (Chip Card Interface Device) smart card readers. This class handles the communication with a CCID-compliant smart card reader, allowing for sending APDUs (Application Protocol Data Units) to a smart card and receiving responses. It also provides notifications for card insertion and removal.

Link copied to clipboard

Listener interface for receiving notifications about smart card events. Implement this interface to receive callbacks when a card is inserted or removed from the CCID reader.

Link copied to clipboard
class CcidException(message: String) : IOException

Custom exception class for CCID-specific errors. This exception is thrown when an error occurs during communication with the smart card, such as an invalid response or a command failure.

Link copied to clipboard

Functions

Link copied to clipboard