|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISO7816
ISO7816
encapsulates constants related to ISO 7816-3 and ISO 7816-4.
ISO7816
interface contains only static fields.
The static fields with SW_
prefixes define constants for the ISO 7816-4 defined response
status word. The fields which use the _00
suffix require the low order byte to be
customized appropriately e.g (ISO7816.SW_CORRECT_LENGTH_00 + (0x0025 & 0xFF)).
The static fields with OFFSET_
prefixes define constants to be used to index into
the APDU buffer byte array to access ISO 7816-4 defined header information.
Field Summary | |
---|---|
static byte |
CLA_ISO7816
APDU command CLA : ISO 7816 = 0x00 |
static byte |
INS_EXTERNAL_AUTHENTICATE
APDU command INS : EXTERNAL AUTHENTICATE = 0x82 |
static byte |
INS_SELECT
APDU command INS : SELECT = 0xA4 |
static byte |
OFFSET_CDATA
APDU command data offset : CDATA = 5 |
static byte |
OFFSET_CLA
APDU header offset : CLA = 0 |
static byte |
OFFSET_INS
APDU header offset : INS = 1 |
static byte |
OFFSET_LC
APDU header offset : LC = 4 |
static byte |
OFFSET_P1
APDU header offset : P1 = 2 |
static byte |
OFFSET_P2
APDU header offset : P2 = 3 |
static short |
SW_APPLET_SELECT_FAILED
Response status : Applet selection failed = 0x6999; |
static short |
SW_BYTES_REMAINING_00
Response status : Response bytes remaining = 0x6100 |
static short |
SW_CLA_NOT_SUPPORTED
Response status : CLA value not supported = 0x6E00 |
static short |
SW_COMMAND_NOT_ALLOWED
Response status : Command not allowed (no current EF) = 0x6986 |
static short |
SW_CONDITIONS_NOT_SATISFIED
Response status : Conditions of use not satisfied = 0x6985 |
static short |
SW_CORRECT_LENGTH_00
Response status : Correct Expected Length (Le) = 0x6C00 |
static short |
SW_DATA_INVALID
Response status : Data invalid = 0x6984 |
static short |
SW_FILE_FULL
Response status : Not enough memory space in the file = 0x6A84 |
static short |
SW_FILE_INVALID
Response status : File invalid = 0x6983 |
static short |
SW_FILE_NOT_FOUND
Response status : File not found = 0x6A82 |
static short |
SW_FUNC_NOT_SUPPORTED
Response status : Function not supported = 0x6A81 |
static short |
SW_INCORRECT_P1P2
Response status : Incorrect parameters (P1,P2) = 0x6A86 |
static short |
SW_INS_NOT_SUPPORTED
Response status : INS value not supported = 0x6D00 |
static short |
SW_LOGICAL_CHANNEL_NOT_SUPPORTED
Response status : Card does not support logical channels = 0x6881 |
static short |
SW_NO_ERROR
Response status : No Error = (short)0x9000 |
static short |
SW_RECORD_NOT_FOUND
Response status : Record not found = 0x6A83 |
static short |
SW_SECURE_MESSAGING_NOT_SUPPORTED
Response status : Card does not support secure messaging = 0x6882 |
static short |
SW_SECURITY_STATUS_NOT_SATISFIED
Response status : Security condition not satisfied = 0x6982 |
static short |
SW_UNKNOWN
Response status : No precise diagnosis = 0x6F00 |
static short |
SW_WARNING_STATE_UNCHANGED
Response status : Warning, card state unchanged = 0x6200 |
static short |
SW_WRONG_DATA
Response status : Wrong data = 0x6A80 |
static short |
SW_WRONG_LENGTH
>Response status : Wrong length = 0x6700 |
static short |
SW_WRONG_P1P2
Response status : Incorrect parameters (P1,P2) = 0x6B00 |
Field Detail |
---|
static final short SW_NO_ERROR
static final short SW_BYTES_REMAINING_00
static final short SW_WRONG_LENGTH
static final short SW_SECURITY_STATUS_NOT_SATISFIED
static final short SW_FILE_INVALID
static final short SW_DATA_INVALID
static final short SW_CONDITIONS_NOT_SATISFIED
static final short SW_COMMAND_NOT_ALLOWED
static final short SW_APPLET_SELECT_FAILED
static final short SW_WRONG_DATA
static final short SW_FUNC_NOT_SUPPORTED
static final short SW_FILE_NOT_FOUND
static final short SW_RECORD_NOT_FOUND
static final short SW_INCORRECT_P1P2
static final short SW_WRONG_P1P2
static final short SW_CORRECT_LENGTH_00
static final short SW_INS_NOT_SUPPORTED
static final short SW_CLA_NOT_SUPPORTED
static final short SW_UNKNOWN
static final short SW_FILE_FULL
static final short SW_LOGICAL_CHANNEL_NOT_SUPPORTED
static final short SW_SECURE_MESSAGING_NOT_SUPPORTED
static final short SW_WARNING_STATE_UNCHANGED
static final byte OFFSET_CLA
static final byte OFFSET_INS
static final byte OFFSET_P1
static final byte OFFSET_P2
static final byte OFFSET_LC
static final byte OFFSET_CDATA
static final byte CLA_ISO7816
static final byte INS_SELECT
static final byte INS_EXTERNAL_AUTHENTICATE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |