Package org.eclipse.keyple.plugin.pcsc
Enum PcscSupportedContactlessProtocol
- java.lang.Object
-
- java.lang.Enum<PcscSupportedContactlessProtocol>
-
- org.eclipse.keyple.plugin.pcsc.PcscSupportedContactlessProtocol
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PcscSupportedContactlessProtocol>
public enum PcscSupportedContactlessProtocol extends java.lang.Enum<PcscSupportedContactlessProtocol>
Non-exhaustive list of protocols supported by common contactless PC/SC readers.Tested with
- Paragon ASK LoGo
- ACS ACR 122
Note: the definition of ATR for contactless ISO cards and memory cards (a.k.a. storage cards) is defined in the PC/SC standard Part 3, core and supplementary documents.
See PC/SC Workgroup- Since:
- 2.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INNOVATRON_B_PRIME_CARD
Innovatron Type B Prime protocol
Default rule =3B8F8001805A0...................829000..
ISO_14443_4
Fully ISO 14443-4 compliant cards
Default rule =3B8880....................|3B8B80.*|3B8C800150.*|.*4F4D4141544C4153.*
MEMORY_ST25
STMicroelectronics ST25 Tag
Default rule =3B8F8001804F0CA000000306070007D0020C00B6
MIFARE_CLASSIC
NXP Mifare Classic 1K (as per PC/SC standard part3)
Default rule =3B8F8001804F0CA000000306030001000000006A
MIFARE_DESFIRE
NXP DESFire or DESFire EV1 or EV2
Default rule =3B8180018080
MIFARE_ULTRA_LIGHT
NXP Mifare Ultralight or UltralightC (as per PC/SC standard part3)
Default rule =3B8F8001804F0CA0000003060300030000000068
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PcscSupportedContactlessProtocol
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PcscSupportedContactlessProtocol[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISO_14443_4
public static final PcscSupportedContactlessProtocol ISO_14443_4
Fully ISO 14443-4 compliant cards
Default rule =3B8880....................|3B8B80.*|3B8C800150.*|.*4F4D4141544C4153.*
- Since:
- 2.0.0
-
INNOVATRON_B_PRIME_CARD
public static final PcscSupportedContactlessProtocol INNOVATRON_B_PRIME_CARD
Innovatron Type B Prime protocol
Default rule =3B8F8001805A0...................829000..
- Since:
- 2.0.0
-
MIFARE_ULTRA_LIGHT
public static final PcscSupportedContactlessProtocol MIFARE_ULTRA_LIGHT
NXP Mifare Ultralight or UltralightC (as per PC/SC standard part3)
Default rule =3B8F8001804F0CA0000003060300030000000068
- Since:
- 2.0.0
-
MIFARE_CLASSIC
public static final PcscSupportedContactlessProtocol MIFARE_CLASSIC
NXP Mifare Classic 1K (as per PC/SC standard part3)
Default rule =3B8F8001804F0CA000000306030001000000006A
- Since:
- 2.0.0
-
MIFARE_DESFIRE
public static final PcscSupportedContactlessProtocol MIFARE_DESFIRE
NXP DESFire or DESFire EV1 or EV2
Default rule =3B8180018080
- Since:
- 2.0.0
-
MEMORY_ST25
public static final PcscSupportedContactlessProtocol MEMORY_ST25
STMicroelectronics ST25 Tag
Default rule =3B8F8001804F0CA000000306070007D0020C00B6
- Since:
- 2.0.0
-
-
Method Detail
-
values
public static PcscSupportedContactlessProtocol[] 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 (PcscSupportedContactlessProtocol c : PcscSupportedContactlessProtocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PcscSupportedContactlessProtocol 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
-
-