public enum CalypsoPoCommand extends java.lang.Enum<CalypsoPoCommand> implements org.eclipse.keyple.core.card.command.CardCommand
| Enum Constant and Description |
|---|
APPEND_RECORD
append record.
|
CHANGE_KEY
change key
|
CLOSE_SESSION
close session.
|
DECREASE
decrease counter.
|
GET_CHALLENGE
get challenge.
|
GET_DATA_FCI
get data.
|
GET_DATA_TRACE
get data for traceability
|
INCREASE
increase counter.
|
INVALIDATE
invalidate
|
OPEN_SESSION_10
open session.
|
OPEN_SESSION_24
open session.
|
OPEN_SESSION_31
open session.
|
OPEN_SESSION_32
open session.
|
READ_RECORDS
read records.
|
REHABILITATE
rehabilitate
|
SELECT_FILE
decrease counter.
|
SV_DEBIT
SV Debit
|
SV_GET
SV Get
|
SV_RELOAD
SV Reload
|
SV_UNDEBIT
SV Undebit
|
UPDATE_RECORD
update record.
|
VERIFY_PIN
verify PIN
|
WRITE_RECORD
write record.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
getInstructionByte()
Gets the instruction byte (INS).
|
java.lang.String |
getName()
Gets the name.
|
static CalypsoPoCommand |
getOpenSessionForRev(PoRevision rev)
Get the open session command for a given
PoRevision |
static CalypsoPoCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalypsoPoCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalypsoPoCommand GET_DATA_FCI
public static final CalypsoPoCommand OPEN_SESSION_10
public static final CalypsoPoCommand OPEN_SESSION_24
public static final CalypsoPoCommand OPEN_SESSION_31
public static final CalypsoPoCommand OPEN_SESSION_32
public static final CalypsoPoCommand CLOSE_SESSION
public static final CalypsoPoCommand READ_RECORDS
public static final CalypsoPoCommand UPDATE_RECORD
public static final CalypsoPoCommand WRITE_RECORD
public static final CalypsoPoCommand APPEND_RECORD
public static final CalypsoPoCommand GET_CHALLENGE
public static final CalypsoPoCommand INCREASE
public static final CalypsoPoCommand DECREASE
public static final CalypsoPoCommand SELECT_FILE
public static final CalypsoPoCommand CHANGE_KEY
public static final CalypsoPoCommand VERIFY_PIN
public static final CalypsoPoCommand GET_DATA_TRACE
public static final CalypsoPoCommand SV_GET
public static final CalypsoPoCommand SV_DEBIT
public static final CalypsoPoCommand SV_RELOAD
public static final CalypsoPoCommand SV_UNDEBIT
public static final CalypsoPoCommand INVALIDATE
public static final CalypsoPoCommand REHABILITATE
public static CalypsoPoCommand[] values()
for (CalypsoPoCommand c : CalypsoPoCommand.values()) System.out.println(c);
public static CalypsoPoCommand valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
getName in interface org.eclipse.keyple.core.card.command.CardCommandpublic byte getInstructionByte()
getInstructionByte in interface org.eclipse.keyple.core.card.command.CardCommandpublic static CalypsoPoCommand getOpenSessionForRev(PoRevision rev)
PoRevisionrev - Command revision