我试图从智能卡导出数据对象。为此,我使用OpenSC 0.19.0。命令pkcs11-tool.exe --list-objects显示以下数据对象驻留在令牌上。
Data Object 12345678
label: 'mylabel'
application: ''
app_id: <empty>
flags: modifiablepkcs15-tool.exe --dump显示此数据对象的path和data值。
pkcs15-tool.exe --read-data-object mylabel只输出data值的内容。我想将此内容导出到本地文件中。
任何帮助都将不胜感激,谢谢!
发布于 2018-09-28 10:04:59
以下两个命令将数据对象的内容写入本地文件:
pkcs11-tool.exe --module ../pkcs11/opensc-pkcs11.dll --login --pin 1234 --read-object --type data --label mylabel --output-file test
pkcs15-tool.exe -read-data-object mylabel -o testhttps://stackoverflow.com/questions/52540843
复制相似问题