Shi*_*chi 2 c# smartcard smartcard-reader gemalto
我有智能卡和读卡器(金雅拓).我想用C#读取卡的序列号.我在金雅拓支持网站上阅读了文档/图书馆,但没有任何信息对我有用.
我希望有人对金雅拓有所帮助我帮助我一些例子!
非常感谢 !
您必须将APDU发送到智能卡,询问卡产品生命周期数据即(CPLC数据).
某些特定类型的卡具有卡生产生命周期(CPLC)数据.例如,JCOP卡在GET DATA或GETCPLCDATA处有0x9F7F标签或0x0101标签.我相信这是一个全球平台特定的标签.找出您的卡支持的规格.对于金雅拓卡,我希望它能奏效.通过查询CPLC数据从我的金雅拓卡获得的数据是:
对于0x9F7F:
IC Fabricator :2 Bytes
IC Type : 2 Bytes
Operating System ID : 2 Bytes
Operating System release date : 2 Bytes
Operating System release level : 2 Bytes
IC Fabrication Date : 2 Bytes (Y DDD) date in that year
IC Serial Number : 4 Bytes
IC Batch Identifier : 2 Bytes
IC Module Fabricator : 2 Bytes
IC Module Packaging Date : 2 Bytes
ICC Manufacturer : 2 Bytes
IC Embedding Date :2 Bytes
IC Pre-Personalizer : 2 Bytes
IC Pre-Perso. Equipment Date : 2 Bytes
IC Pre-Perso. Equipment ID : 4 Bytes
IC Personalizer : 4 Bytes
IC Personalization Date : 2 Bytes
IC Perso. Equipment ID : 4 Bytes
Run Code Online (Sandbox Code Playgroud)
对于0x0101:
Card serial number: 8 bytes
Reserved bytes: 3 bytes 0
Flow identification: 1 byte
Reserved bytes: 4 bytes
Run Code Online (Sandbox Code Playgroud)
对不起,我无法提供准确的字节,它可能会有所不同.只需检查您的卡支持的标签.更好地参考全球平台文档和ISO 7816标准(http://www.ttfn.net/techno/smartcards/iso7816_4.html).我希望这就是你要找的东西.
| 归档时间: |
|
| 查看次数: |
6679 次 |
| 最近记录: |