ÿþ//--------------------------------------------------------------------------------------- // Demonstration of some command and response APDUs of the TANGen Java Card Applet //--------------------------------------------------------------------------------------- // remark: commands with the suffix _error tests intentionally the behavior of the // applet for bad cases //--------------------------------------------------------------------------------------- // 16. Sept. 2004 - V 1: 1st published version //--------------------------------------------------------------------------------------- -> :selectApplet 00 A4 04 00 07 D2 76 00 00 60 41 04 00 <- 90 00 PASS -> :VERIFY_[Admin_PIN] 00 20 00 02 03 22 22 22 <- 90 00 PASS -> :PUT_DATA_[smart_card_ID] 00 DA 00 50 04 12 34 56 78 <- 90 00 PASS -> :PUT_DATA_[TAN_genkey] 00 DA 00 55 08 12 34 12 34 12 34 12 34 <- 90 00 PASS -> :PUT_DATA_[seed] 00 DA 00 54 08 AA BB CC DD EE FF AA BB <- 90 00 PASS -> :PUT_DATA_[TAN_counter] 00 DA 00 56 02 00 00 <- 90 00 PASS -> :PUT_DATA_[user_PIN] 00 DA 00 51 02 12 34 <- 90 00 PASS -> :selectApplet 00 A4 04 00 07 D2 76 00 00 60 41 04 00 <- 90 00 PASS -> :PUT_DATA_[smart_card_ID] 00 DA 00 50 04 12 34 56 78 <- 90 00 PASS -> :PUT_DATA_[user_PIN] 00 DA 00 51 02 33 33 <- 90 00 PASS -> :PUT_DATA_[admin_PIN] 00 DA 00 52 03 22 22 22 <- 90 00 PASS -> :PUT_DATA_[auth_key_error] 00 DA 00 55 08 AA 55 AA 55 AA 55 AA 55 <- 69 82 FAILED -> :PUT_DATA_[auth_counter_error] 00 DA 00 54 02 00 05 <- 69 82 FAILED -> :PUT_DATA_[auth_counter_error] 00 DA 00 54 02 7F FF <- 69 82 FAILED -> :GET_DATA_[TAN_error] 00 CA 00 57 04 <- 69 82 FAILED -> :VERIFY_[User_PIN_error] 00 20 00 01 02 12 34 <- 63 C2 FAILED -> :GET_DATA_[TANCNTR] 00 CA 00 56 02 <- 00 00 90 00 PASS -> :VERIFY_[User_PIN] 00 20 00 01 02 33 33 <- 90 00 PASS -> :VERIFY_[Admin_PIN] 00 20 00 02 03 22 22 22 <- 90 00 PASS -> :VERIFY_[Admin_PIN_error] 00 20 00 02 03 44 44 44 <- 63 C1 FAILED //---------------------------------------------------------------------------------------