Enum Class UsbPid

java.lang.Object
java.lang.Enum<UsbPid>
com.yubico.yubikit.core.UsbPid
All Implemented Interfaces:
Serializable, Comparable<UsbPid>, Constable

public enum UsbPid extends Enum<UsbPid>
  • Enum Constant Details

    • YKS_OTP

      public static final UsbPid YKS_OTP
    • NEO_OTP

      public static final UsbPid NEO_OTP
    • NEO_OTP_CCID

      public static final UsbPid NEO_OTP_CCID
    • NEO_CCID

      public static final UsbPid NEO_CCID
    • NEO_FIDO

      public static final UsbPid NEO_FIDO
    • NEO_OTP_FIDO

      public static final UsbPid NEO_OTP_FIDO
    • NEO_FIDO_CCID

      public static final UsbPid NEO_FIDO_CCID
    • NEO_OTP_FIDO_CCID

      public static final UsbPid NEO_OTP_FIDO_CCID
    • SKY_FIDO

      public static final UsbPid SKY_FIDO
    • YK4_OTP

      public static final UsbPid YK4_OTP
    • YK4_FIDO

      public static final UsbPid YK4_FIDO
    • YK4_OTP_FIDO

      public static final UsbPid YK4_OTP_FIDO
    • YK4_CCID

      public static final UsbPid YK4_CCID
    • YK4_OTP_CCID

      public static final UsbPid YK4_OTP_CCID
    • YK4_FIDO_CCID

      public static final UsbPid YK4_FIDO_CCID
    • YK4_OTP_FIDO_CCID

      public static final UsbPid YK4_OTP_FIDO_CCID
    • YKP_OTP_FIDO

      public static final UsbPid YKP_OTP_FIDO
  • Field Details

    • value

      public final int value
    • type

      public final YubiKeyType type
    • usbInterfaces

      public final int usbInterfaces
  • Method Details

    • values

      public static UsbPid[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UsbPid valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromValue

      public static UsbPid fromValue(int value) throws IllegalArgumentException
      Throws:
      IllegalArgumentException