Enum Class PcscSupportedContactProtocol

java.lang.Object
java.lang.Enum<PcscSupportedContactProtocol>
org.eclipse.keyple.plugin.pcsc.PcscSupportedContactProtocol
All Implemented Interfaces:
Serializable, Comparable<PcscSupportedContactProtocol>, Constable

public enum PcscSupportedContactProtocol extends Enum<PcscSupportedContactProtocol>
Non-exhaustive list of protocols supported by common contact PC/SC readers.

TODO Improve protocol identification

Since:
2.0.0
  • Enum Constant Details

    • ISO_7816_3

      public static final PcscSupportedContactProtocol ISO_7816_3
      ISO7816-3 Card (unspecified communication protocol)
      Default rule = 3.*
      Since:
      2.0.0
    • ISO_7816_3_T0

      public static final PcscSupportedContactProtocol ISO_7816_3_T0
      ISO7816-3 Card communicating with T=0 protocol
      Default rule = 3.*
      Since:
      2.0.0
    • ISO_7816_3_T1

      public static final PcscSupportedContactProtocol ISO_7816_3_T1
      ISO7816-3 Card communicating with T=1 protocol
      Default rule = 3.*
      Since:
      2.0.0
  • Method Details

    • values

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