======================================================================== MICROSOFT FOUNDATION CLASS LIBRARY : UsbKey ====…
usbkey 源代码
USBKey是一种USB接口的硬件设备。它内置单片机或智能卡芯片,有一定的存储空间,可以存储用户的私钥以及数字证书,利用USBKey内置的公钥算法实现对用户身份的认证。由于用户私钥保存在密码锁中,理论上使用任何方式都无法读取,因此保证了用户认证的安全性。
#include ".\epassapi.h" //ep1kdl20.lib #define DIR_ID 1000 //证书应用分区 #define FILE_PUB 1001//公钥文件 #define FILE_PRI 1002//私钥文件 …
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…
// stdafx.cpp : source file that includes just the standard includes // UsbKey.pch will be the pre-compiled header // stdafx.obj…