我正在尝试使用智能卡eSign应用程序对文档进行数字签名。这是一张国家身份证,我遵守ICAO 9303和TR-03110的规定。如果我没有弄错,在选择eSign应用程序之前,我应该先执行Terminal Authentication作为Signature Terminal。
在ICAO 9303中指出:
The following sequence of commands SHALL be used with secure messaging to implement Terminal Authentication:
MSE:Set DST
PSO:Verify Certificate
MSE:Set AT
Get Challenge
External Authenticate
Steps 1 and 2 are repeated for every CV certificate to be verified (CVCA Link Certificates, DV Certificate, Terminal Certificate).要执行MSE:Set DST,应该使用以下APDU:
INS - 0x22
P1/P2 - 0x81B6
Data - 0x83 Reference of a public key, ISO 8859-1 encoded name of the public key to be set这是我不明白的Data部分。我到底需要在那里提供什么?我如何找到公钥或它的名字?
发布于 2022-04-08 09:15:18
我到底需要在那里提供什么?我如何找到公钥或它的名字?
在启动TA之前,您应该确保终端有自己的有效的简历链-证书+适当的私钥:
对应于IS证书cetitificate
证书
TA的第一步是证书链验证:
)
证书持有人引用(CHR)和证书真实性引用(CAR)是以字符串值编码的ID。
https://stackoverflow.com/questions/71787088
复制相似问题