📄 project.txt
字号:
========================================================================
Simulator of the virtual smartcard presence (ins_rem)
========================================================================
The goal of this utility is help to simulate of inserting, removal of
virtual smartcard in to virtual reader. Please, notice: after start of
OS the virtual smartcard is present in the reader. Everytime, when state
of EVENT SC_INSERT_REMOVE (can be modifed by this utility) reader's state
becomes inversed. It means: when the system was started, virtual SC is
inserted; ins_rem changed the EVENT state and state of the reader is
changed also like : "virt. smartcard is removed" -> "virt. smartcard is
inserted" and so on..
After start ins_rem utility does not know about initial state of the reader,
this state will be shown by sc_mon utility. This behavior can be easily
changed with small modification in the driver or ins_rem should check the
internal state of the reader via MS Smartcard API.
ATTENTION PLEASE : After restarting SCMR the reader forgets the state of SC and this
program loses the possibility to control the process of INS or REM.. It's clear
why - just check how pcsc_drv manages EVENT, signaling that state of virtual
reader is changed.
For normal execution of this utility, the registry has to have the next info:
---------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\SmartCards\XXXX_Card]
"ATR"=hex:3b,89,40,14,47,47,32,34,4d,35,32,38,30
"ATRMask"=hex:ff,00,ff,ff,00,00,00,00,00,00,00,ff,ff
"Crypto Provider"="Microsoft Base Cryptographic Provider v1.0"
----------------------------------------------------------------------------
You can just use scard.reg to insert the data in to the registry
(or use Microsoft Smartacard API functions for introducing of new smartcard)
Additional information can be found : http://www.dbasko.com/pc_sc.htm
--------------------------------------------------------------------------
You may contact the author by:
E-mail: contact@dbasko.com Dmitry Basko, 2003
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -