Package com.yubico.yubikit.management
Enum Class FormFactor
- All Implemented Interfaces:
Serializable
,Comparable<FormFactor>
,Constable
The physical form factor of a YubiKey.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed when information about the YubiKey's form factor isn't available.A keychain-sized YubiKey with fingerprint sensor and USB-A connector.A keychain-sized YubiKey with a USB-A connector.A nano-sized YubiKey with a USB-A connector.A keychain-sized YubiKey with fingerprint sensor and USB-C connector.A keychain-sized YubiKey with a USB-C connector.A keychain-sized YubiKey with both USB-C and Lightning connectors.A nano-sized YubiKey with a USB-C connector. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormFactor
valueOf
(int value) Returns the form factor corresponding to the given Management application form factor constant, or UNKNOWN if the value is unknown.static FormFactor
Returns the enum constant of this class with the specified name.static FormFactor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Used when information about the YubiKey's form factor isn't available. -
USB_A_KEYCHAIN
A keychain-sized YubiKey with a USB-A connector. -
USB_A_NANO
A nano-sized YubiKey with a USB-A connector. -
USB_C_KEYCHAIN
A keychain-sized YubiKey with a USB-C connector. -
USB_C_NANO
A nano-sized YubiKey with a USB-C connector. -
USB_C_LIGHTNING
A keychain-sized YubiKey with both USB-C and Lightning connectors. -
USB_A_BIO
A keychain-sized YubiKey with fingerprint sensor and USB-A connector. -
USB_C_BIO
A keychain-sized YubiKey with fingerprint sensor and USB-C connector.
-
-
Field Details
-
value
public final int value
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
valueOf
Returns the form factor corresponding to the given Management application form factor constant, or UNKNOWN if the value is unknown.
-