[英]Problems coding an APDU command to verify PIN
I'm trying to send a VERIFY (pin) command using javax.smartcardio
API. 我正在尝试使用
javax.smartcardio
API发送VERIFY(引脚)命令。 My Pin code is 12345678. 我的密码是12345678。
Based on some examples I've found on the net, I've tried with this APDU: 根据我在网上发现的一些示例,我尝试使用此APDU:
00 20 00 83 08 01 02 03 04 05 06 07 08
but the result is: 69 84 (reference data invalid)
. 但结果是:
69 84 (reference data invalid)
。
I've tried also with: 我也尝试过:
00 20 00 83 08 12 34 56 78
But I still get the same error. 但是我仍然遇到同样的错误。
According to my SmartCart specifications, the card has support for: 根据我的SmartCart规范,该卡支持:
I'm a bit desperate as I cannot find a way out. 我有点绝望,因为我找不到出路。 Can you suggest me some changes to my APDU or even a completely different approach (another library or language to connect with my Smart Card)?
您能建议我对APDU进行一些更改,甚至是完全不同的方法(与我的智能卡连接的另一个库或语言)吗?
Since your card is ISO 7816, please refer the APDU from the following link section 6.12. 由于您的卡是ISO 7816,因此请参考以下链接第6.12节中的APDU。
What you need to do is: 您需要做的是:
00 20 00 81 00
00 20 00 81 00
00 20 00 81 08 31 32 33 34 35 36 37 38
. 00 20 00 81 08 31 32 33 34 35 36 37 38
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.