1、 /7816-92011 9 ISO/IEC 7816-9:2004Identification cards Integrated circuit cards Part 9: Commands for card management(IDT) 27 2002 . 184- , 1.02004 . 1 - () 22 , 42 22 3 - 13 2011 . 1008-4 / 7816-9:2004 . . 9. (ISO/IEC 7816-9:2004 Identification cards Integrated circuit cards Part 9: Commands for car
2、dmanagement). - , 5 6 , 4, - . () -() , - . () . - , , 2013 , - - II / 7816-92011C1 .12 13 14 15 .15.1 26 .36.1 (CREATE FILE) 36.2 (DELETE FILE) .36.3 (DEACTIVATE FILE) 46.4 (ACTIVATE FILE).46.5 DF (TERMINATE DF) .56.6 EF (TERMINATE EF) .66.7 (TERMINATE CARD USAGE) 6 () , .7 () .1011III / 7816-92011
3、 / 7816 . - , - . (, ) / ( , ). / 7816 , - , , :/ 7816-1 ;/ 7816-2 ;/ 7816-3 - ;/ 7816-10 - ;/ 7816-12 USB .- , / :/ 7816-4 , ;/ 7816-5 ;/ 7816-6 ;/ 7816-7 ;/ 7816-8 , ;/ 7816-9 ;/ 7816-11 ;/ 7816-15 ./ 10536 ./14443/15693. ./ 7816-9:2004 17 1 / .IV / 7816-92011 9 Identification cards. Integrated ci
4、rcuit cards. Part 9. Commands for card management 201301011 . , - , , . / .2 :/ 7816-4:2005 . . 4., (ISO/IEC 7816-4:2005, Identificationcards Integrated circuit cards Part 4: Organization, security and commands for interchange)3 :3.1 (secure messaging): - -./ 7816-4, 3.394 :APDU (application protoco
5、l data unit);FCP (file control parameters);LCS (life cycle status).5 . - -, , 1 / 7816-92011 . :- , ;- , -, ;- , - ;- , - , , , . . , : . , , . - :CREATE FILEDELETE FILEACTIVATE FILEDEACTIVATE FILETERMINATE CARD USAGETERMINATE EFTERMINATE DF , . - .5.1 1 ,.- (. / 7816-4). 1 2 / 7816-920116 , . , - .
6、 4 3 . (. / 7816-4).6.1 (CREATE FILE) CREATE FILE (DF EF), DF. . - , . DF EF EF, . , - DF. . , (DF EF) . :- DF, DF / ;- EF, / EF. 1 CREATE FILE, -CLAINSP1-P2 / 7816-4E00000 P1 00: P2 EF 8 4; 3 1 Lc Nc= 0, Nc0 FCP ( 62) Le Ne=0 SW1-SW2 . / 7816-4, 5 6, , 6982, 6A84, 6A89,6A8A Nc , -.6.2 (DELETE FILE)
7、 DELETEFILE EF DF DF . . EF DF. DF - DF, . , , , , , . . MF . P1-P2 = 0000 , , , DELETE FILE. , , - .3 / 7816-92011 2 DELETE FILE, -CLAINSP1-P2 / 7816-4E40000 : SELECT (. / 7816-4) Lc Nc= 0, Nc0 SELECT (. / 7816-4) Le Ne=0 SW1-SW2 . / 7816-4, 56, , 6982, 69856.3 (DEACTIVATE FILE) DEACTIVATE FILE . -
8、 , SELECT, ACTIVATE FILE, DELETE FILE,TERMINATE FILE EF DF TERMINATE FILE DF . SELECT - SW1-SW2 = 6283 : , . . . EF, EF - DF. P1-P2 = 0000 , , , DEACTIVATE FILE. - P1-P2, , , SELECT. . APDU , - , , / 7816 . . 3 DEACTIVATE FILE, -CLAINSP1-P2 / 7816-4040000 : SELECT (. / 7816-4) Lc Nc= 0, Nc0 SELECT (. / 7816-4) Le Ne=0 SW1-SW2 . / 7816-4, 56, , 6982, 69856.4