Enum Class Capability

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

public enum Capability extends Enum<Capability>
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 Constants
    Enum Constant
    Description
    Identifies the FIDO2 (CTAP2) portion of the FIDO 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
    Modifier and Type
    Field
    Description
    final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Capability
    Returns the enum constant of this class with the specified name.
    static Capability[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • OTP

      public static final Capability OTP
      Identifies the YubiOTP application.
    • U2F

      public static final Capability U2F
      Identifies the U2F (CTAP1) portion of the FIDO application.
    • OPENPGP

      public static final Capability OPENPGP
      Identifies the OpenPGP application, implementing the OpenPGP Card protocol.
    • PIV

      public static final Capability PIV
      Identifies the PIV application, implementing the PIV protocol.
    • OATH

      public static final Capability OATH
      Identifies the OATH application, implementing the YKOATH protocol.
    • FIDO2

      public static final Capability FIDO2
      Identifies the FIDO2 (CTAP2) portion of the FIDO application.
  • Field Details

    • bit

      public final int bit
  • Method Details

    • values

      public static Capability[] 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 Capability 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