Interface FidoConnection

All Superinterfaces:
AutoCloseable, Closeable, YubiKeyConnection

public interface FidoConnection extends YubiKeyConnection
A HID CTAP connection to a YubiKey.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    receive(byte[] packet)
    Receives a HID CTAP packet from the YubiKey.
    void
    send(byte[] packet)
    Sends a HID CTAP packet to the YubiKey.

    Methods inherited from interface java.io.Closeable

    close
  • Field Details

  • Method Details

    • send

      void send(byte[] packet) throws IOException
      Sends a HID CTAP packet to the YubiKey.
      Throws:
      IOException
    • receive

      void receive(byte[] packet) throws IOException
      Receives a HID CTAP packet from the YubiKey.
      Throws:
      IOException