Package org.eclipse.keyple.plugin.pcsc
Enum PcscSupportedContactProtocol
- java.lang.Object
-
- java.lang.Enum<PcscSupportedContactProtocol>
-
- org.eclipse.keyple.plugin.pcsc.PcscSupportedContactProtocol
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PcscSupportedContactProtocol>
public enum PcscSupportedContactProtocol extends java.lang.Enum<PcscSupportedContactProtocol>
Non-exhaustive list of protocols supported by common contact PC/SC readers.TODO Improve protocol identification
- Since:
- 2.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ISO_7816_3
ISO7816-3 Card (unspecified communication protocol)
Default rule =3.*
ISO_7816_3_T0
ISO7816-3 Card communicating with T=0 protocol
Default rule =3.*
ISO_7816_3_T1
ISO7816-3 Card communicating with T=1 protocol
Default rule =3.*
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PcscSupportedContactProtocol
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PcscSupportedContactProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static PcscSupportedContactProtocol[] 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 (PcscSupportedContactProtocol c : PcscSupportedContactProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PcscSupportedContactProtocol 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
-
-