Package com.yubico.yubikit.core
Enum UsbPid
- java.lang.Object
-
- java.lang.Enum<UsbPid>
-
- com.yubico.yubikit.core.UsbPid
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEO_CCID
NEO_FIDO
NEO_FIDO_CCID
NEO_OTP
NEO_OTP_CCID
NEO_OTP_FIDO
NEO_OTP_FIDO_CCID
SKY_FIDO
YK4_CCID
YK4_FIDO
YK4_FIDO_CCID
YK4_OTP
YK4_OTP_CCID
YK4_OTP_FIDO
YK4_OTP_FIDO_CCID
YKP_OTP_FIDO
YKS_OTP
-
Field Summary
Fields Modifier and Type Field Description YubiKeyType
type
int
usbInterfaces
int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UsbPid
fromValue(int value)
static UsbPid
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UsbPid[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
value
public final int value
-
type
public final YubiKeyType type
-
usbInterfaces
public final int usbInterfaces
-
-
Method Detail
-
values
public static UsbPid[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UsbPid c : UsbPid.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UsbPid valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromValue
public static UsbPid fromValue(int value) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-