Class SmartCardConnectionHandler

java.lang.Object
com.yubico.yubikit.android.transport.usb.connection.SmartCardConnectionHandler
All Implemented Interfaces:
ConnectionHandler<UsbSmartCardConnection>

public class SmartCardConnectionHandler extends Object
  • Constructor Details

    • SmartCardConnectionHandler

      public SmartCardConnectionHandler()
  • Method Details

    • createConnection

      public UsbSmartCardConnection createConnection(android.hardware.usb.UsbDevice usbDevice, android.hardware.usb.UsbDeviceConnection usbDeviceConnection) throws IOException
      Throws:
      IOException
    • isAvailable

      public boolean isAvailable(android.hardware.usb.UsbDevice usbDevice)
      Specified by:
      isAvailable in interface ConnectionHandler<T extends com.yubico.yubikit.core.YubiKeyConnection>
    • getClaimedInterface

      protected android.hardware.usb.UsbInterface getClaimedInterface(android.hardware.usb.UsbDevice usbDevice, android.hardware.usb.UsbDeviceConnection usbDeviceConnection) throws IOException
      Throws:
      IOException