Package com.yubico.yubikit.management
Enum Class Capability
- All Implemented Interfaces:
Serializable
,Comparable<Capability>
,Constable
Identifies a feature (typically an application) on a YubiKey which may or may not be supported,
and which can be enabled or disabled.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifies the FIDO2 (CTAP2) portion of the FIDO application.Identifies the HSMAUTH application.Identifies the OATH application, implementing the YKOATH protocol.Identifies the OpenPGP application, implementing the OpenPGP Card protocol.Identifies the YubiOTP application.Identifies the PIV application, implementing the PIV protocol.Identifies the U2F (CTAP1) portion of the FIDO application. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Capability
Returns the enum constant of this class with the specified name.static Capability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTP
Identifies the YubiOTP application. -
U2F
Identifies the U2F (CTAP1) portion of the FIDO application. -
OPENPGP
Identifies the OpenPGP application, implementing the OpenPGP Card protocol. -
PIV
Identifies the PIV application, implementing the PIV protocol. -
OATH
Identifies the OATH application, implementing the YKOATH protocol. -
HSMAUTH
Identifies the HSMAUTH application. -
FIDO2
Identifies the FIDO2 (CTAP2) portion of the FIDO application.
-
-
Field Details
-
bit
public final int bit
-
-
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
-