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.
| Modifier and Type | Field and Description | 
|---|---|
| static byte | CLA_ISO7816APDU command CLA : ISO 7816 = 0x00 | 
| static byte | INS_EXTERNAL_AUTHENTICATEAPDU command INS : EXTERNAL AUTHENTICATE = 0x82 | 
| static byte | INS_SELECTAPDU command INS : SELECT = 0xA4 | 
| static byte | OFFSET_CDATAAPDU command data offset : CDATA = 5 | 
| static byte | OFFSET_CLAAPDU header offset : CLA = 0 | 
| static byte | OFFSET_EXT_CDATAAPDU command data offset with extended length input data : EXT_CDATA = 7 | 
| static byte | OFFSET_INSAPDU header offset : INS = 1 | 
| static byte | OFFSET_LCAPDU header offset : LC = 4 | 
| static byte | OFFSET_P1APDU header offset : P1 = 2 | 
| static byte | OFFSET_P2APDU header offset : P2 = 3 | 
| static short | SW_APPLET_SELECT_FAILEDResponse status : Applet selection failed = 0x6999; | 
| static short | SW_BYTES_REMAINING_00Response status : Response bytes remaining = 0x6100 | 
| static short | SW_CLA_NOT_SUPPORTEDResponse status : CLA value not supported = 0x6E00 | 
| static short | SW_COMMAND_CHAINING_NOT_SUPPORTEDResponse status : Command chaining not supported = 0x6884 | 
| static short | SW_COMMAND_NOT_ALLOWEDResponse status : Command not allowed (no current EF) = 0x6986 | 
| static short | SW_CONDITIONS_NOT_SATISFIEDResponse status : Conditions of use not satisfied = 0x6985 | 
| static short | SW_CORRECT_LENGTH_00Response status : Correct Expected Length (Le) = 0x6C00 | 
| static short | SW_DATA_INVALIDResponse status : Data invalid = 0x6984 | 
| static short | SW_FILE_FULLResponse status : Not enough memory space in the file = 0x6A84 | 
| static short | SW_FILE_INVALIDResponse status : File invalid = 0x6983 | 
| static short | SW_FILE_NOT_FOUNDResponse status : File not found = 0x6A82 | 
| static short | SW_FUNC_NOT_SUPPORTEDResponse status : Function not supported = 0x6A81 | 
| static short | SW_INCORRECT_P1P2Response status : Incorrect parameters (P1,P2) = 0x6A86 | 
| static short | SW_INS_NOT_SUPPORTEDResponse status : INS value not supported = 0x6D00 | 
| static short | SW_LAST_COMMAND_EXPECTEDResponse status : Last command in chain expected = 0x6883 | 
| static short | SW_LOGICAL_CHANNEL_NOT_SUPPORTEDResponse status : Card does not support the operation on the specified
 logical channel = 0x6881 | 
| static short | SW_NO_ERRORResponse status : No Error = (short)0x9000 | 
| static short | SW_RECORD_NOT_FOUNDResponse status : Record not found = 0x6A83 | 
| static short | SW_SECURE_MESSAGING_NOT_SUPPORTEDResponse status : Card does not support secure messaging = 0x6882 | 
| static short | SW_SECURITY_STATUS_NOT_SATISFIEDResponse status : Security condition not satisfied = 0x6982 | 
| static short | SW_UNKNOWNResponse status : No precise diagnosis = 0x6F00 | 
| static short | SW_WARNING_STATE_UNCHANGEDResponse status : Warning, card state unchanged = 0x6200 | 
| static short | SW_WRONG_DATAResponse status : Wrong data = 0x6A80 | 
| static short | SW_WRONG_LENGTHResponse status : Wrong length = 0x6700 | 
| static short | SW_WRONG_P1P2Response status : Incorrect parameters (P1,P2) = 0x6B00 | 
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 short SW_LAST_COMMAND_EXPECTED
static final short SW_COMMAND_CHAINING_NOT_SUPPORTED
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 OFFSET_EXT_CDATA
static final byte CLA_ISO7816
static final byte INS_SELECT
static final byte INS_EXTERNAL_AUTHENTICATE
Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved.