FileDocCategorySizeDatePackage
Constants.javaAPI DocJava Card2367Wed Mar 22 21:07:26 GMT 2006com.sun.javacard.clientsamples.transit

Constants

public interface Constants
The constants used by the POS and transit terminal applications. Note: this interface could also be used by the transit applet itself.

Fields Summary
byte
CLA_ISO7816
CLA value for ISO 7816-4 commands
byte
TRANSIT_CLA
CLA value for transit-applet-specific commands
byte
INS_VERIFY
INS value for ISO 7816-4 VERIFY command
byte
INS_SELECT
INS value for ISO 7816-4 SELECT command
byte
INITIALIZE_SESSION
INS value for INITIALIZE_SESSION command
byte
PROCESS_REQUEST
INS value for PROCESS_REQUEST command
byte
PROCESS_ENTRY
TLV Tag for PROCESS_ENTRY request
byte
PROCESS_EXIT
TLV Tag for PROCESS_EXIT request
byte
CREDIT
TLV Tag for CREDIT request
byte
GET_BALANCE
TLV Tag for GET_BALANCE request
int
SW_NO_ERROR
SW bytes for success
short
UID_LENGTH
Unique ID length
short
CHALLENGE_LENGTH
Host and card challenge length
short
MAC_LENGTH
MAC length as generated by Signature.ALG_DES_MAC8_ISO9797_M2
int
LENGTH_DES_BYTE
DES key length in bytes
String
DEFAULT_HOST_NAME
The default host name where the cref or jcwde tool is running
int
DEFAULT_PORT
The default port the cref or jcwde tool is listening on
byte[]
AID_TRANSIT
The AID for the transit applet
Constructors Summary
Methods Summary