获取JOP卡的版本与功能信息

JCOP 卡的版本与功能信息

2012-02-18 22:08:29

可以从三个方面获取(假设在 jcop plug-in 中):

  1. 从 ATR,使用 /atr,如

     

    ATR=3B F9 18 00 00 81 31 FE 45 4A 43 4F 50 32 31 56 ;.....1.EJCOP21V
    32 32 A9 22.
    ATR: T=1, FI=1/DI=8 (31clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP21V22"

     

  2. 从 get-data 0066 获取,如:

     

    => 80 CA 00 66 00 ...f.

    (112550 usec)

    <= 66 4C 73 4A 06 07 2A 86 48 86 FC 6B 01 60 0C 06 fLsJ..*.H..k.`..

    0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A .*.H..k....c...*

    86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B .H..k.d...*.H..k

    04 02 15 65 0B 06 09 2B 85 10 86 48 64 02 01 03 ...e...+...Hd...

    66 0C 06 0A 2B 06 01 04 01 2A 02 6E 01 02 90 00 f...+....*.n....

    Status: No Error

    Global Platform version : 2.1.1

    Global Platform Secure Channel Protocol: 02 option 15

Java Card version : 2.2

 

  1. 从 Card Product Life Cycle 获取,get-cplc 如:

    cm> get-cplc

    => 80 CA 9F 7F 00 .....

    (113811 usec)

    <= 9F 7F 2A 47 90 50 17 40 51 61 38 27 00 71 18 03 ..*G.P.@Qa8'.q..

    65 03 91 17 34 00 00 00 00 00 00 00 00 01 1C 3A e...4..........:

    33 36 35 30 33 00 00 00 00 00 00 00 00 90 00 36503..........

    Status: No Error

    IC Fabricator : 4790

    IC Type : 5017

    Operating System ID : 4051

    Operating System release date : 6138 (18.5.2006)

    Operating System release level : 2700

    IC Fabrication Date : 7118 (28.4.2007)

    IC Serial Number : 03650391

    IC Batch Identifier : 1734

    IC Module Fabricator : 0000

    IC Module Packaging Date : 0000

    ICC Manufacturer : 0000

    IC Embedding Date : 0000

    IC Pre-Personalizer : 011C

    IC Pre-Perso. Equipment Date : 3A33

    IC Pre-Perso. Equipment ID : 36353033

    IC Personalizer : 0000

    IC Personalization Date : 0000

    IC Perso. Equipment ID : 00000000

     

  2. 利用 identify 命令,如

    cm> /identify

    => 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF .........gA0..

    (77907 usec)

    <= 17 23 01 27 00 00 00 00 50 48 36 32 30 42 00 03 .#.'....PH620B..

    02 6B 93 6A 82 .k.j.

    Status: File not found

    FABKEY ID: 0x17

    PATCH ID: 0x23

    TARGET ID: 0x01 (smartmx)

    MASK ID: 0x27 (39)

    CUSTOM MASK: 00000000

    MASK NAME: PH620B

    FUSE STATE: not fused

    ROM INFO: 026B93

    COMBO NAME: smartmx-m27.17.23-PH620B

你可能感兴趣的:(智能卡相关)