iButton with JavaTM Status Word Responses, Error Codes and Exception Codes
Loader Status Words
Insufficient Memory | 0x6400 |
Incomplete Packet | 0x6A87 |
Invalid Signature | 0x6982 |
Invalid Packet | 0x6A87 |
Class Length Overrun | 0x6A84 |
Invalid Loader Command | 0x6A86 |
Invalid AID Length | 0x6901 |
Invalid API Version | 0x6902 |
Invalid Password | 0x6903 |
Invalid Signature Length | 0x6904 |
Hash Corruption | 0x6905 |
Hash Failure | 0x6906 |
Success Packet | 0x6301 |
Success Load | 0x9000 |
AID Status Words
Unable to Select Applet | 0x8453 |
Unable to Find Applet | 0x8450 |
Unable to Select Applet | 0x6A82 |
Command Processor Status Words
Bad Master PIN | 0x6681 |
Virtual Machine Status Words
Uncaught Exception | 0x6F00 |
ISOExceptions
SW_BYTES_REMAINING_00 | 0x6100 |
SW_CLA_NOT_SUPPORTED | 0x6E00 |
SW_CONDITIONS_NOT_SATISIFED | 0x6985 |
SW_CORRECT_LENGTH_00 | 0x6C00 |
SW_DATA_INVALID | 0x6984 |
SW_FUNC_NOT_SUPPORTED | 0x6A81 |
SW_INCORRECT_P1P2 | 0x6A86 |
SW_INS_NOT_SUPPORTED | 0x6D00 |
SW_NO_ERROR | 0x9000 |
SW_PIN_REQUIRED | 0x6982 |
SW_RECORD_NOT_FOUND | 0x6A83 |
SW_SECURITY_STATUS_NOT_SATISFIED | 0x6982 |
SW_UNKNOWN | 0x6F00 |
SW_WRONG_DATA | 0x6A80 |
SW_WRONG_LENGTH | 0x6700 |
SW_WRONG_P1P2 | 0x6B00 |
Error bytes (values supplied by the JCRE when a VM generated error occurs)
StackOverflowError | 0x61 |
OutOfMemoryError | 0x62 |
UnknownError | 0x63 |
InternalError | 0x64 |
IllegalAccessError | 0x65 |
Exception bytes (values supplied by the JCRE when an uncaught exception occurs)
Exception Name | (ver. 0.03) |
(ver. 1.0x) |
(ver. 1.1x, 2.00) |
(ver. 2.2) |
(ver. 2.21) |
ArithmeticException | |||||
ArrayIndexOutOfBoundsException | |||||
ArrayStoreException | |||||
ClassCastException | |||||
Exception | |||||
IndexOutOfBoundsException | |||||
NegativeArraySizeException | |||||
NullPointerException | |||||
RuntimeException | |||||
SecurityException | |||||
Throwable | |||||
APDUException | |||||
ISOException | |||||
PINException | |||||
SystemException | |||||
TransactionException | |||||
UserException | |||||
CoprocessorException | |||||
PrimeException | |||||
CryptoException | |||||
RSAKeyGeneratorException |
Can Ignore MS bit of exception code!
iButton Homepage: http://www.ibutton.com/