Right click the adapter and then click Update Driver Software. Click Browse my computer for driver software. Click Let me pick from a list of device drivers on my computer. Highlight Show All Devices and click Next. Click Have Disk. Click Browse. Point to the inf file in the driver folder,.
Recently we have added a quite useful functionality to jCardSim that allow you to work with jCardSim through virtual PC/SC-reader on Windows 7. It also should work on Windows XP but do not tested.
Installing BixVReader UMDF driver
- Download BixVReader - http://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader
- In order to install BixVReader you need DevCon from WDK. Unfortunately, it can not be distributed separately, but WDK 8 is available for free download here: http://go.microsoft.com/fwlink/p/?LinkID=324284. Download it and install.
- Depending on your OS architecture copy devcon.exe either from
C:Program FilesWindows Kits8.0Toolsx86
orC:Program FilesWindows Kits8.0Toolsx64
to the directory that contains extracted BixVReader’s distribution:Win7_x86
orWin7_x64
respectively. - Also
WUDFUpdate_* files
fromC:Program FilesWindows Kits8.0Redistwdfx86
orC:Program FilesWindows Kits8.0Redistwdfx64
should be copied to the directory that contains extracted BixVReader’s distribution:Win7_x86
orWin7_x64
respectively. - Open command line with Administrator privileges and change directory to one that contains extracted BixVReader.
- Execute the command
devcon install BixVReader.inf rootBixVirtualReader
and confirm installation of unsigned drivers (we believe we can get in touch with the BixVReader's creator Fabio Ottavi and, if he will like it, gift him a certificate to sign the driver).
Configuring jCardSim
Download the new build of desired jCardSim's version: 2.2.1 or 2.2.2.
jCardSim uses named pipes (IPC) to communicate with BixVReader: data communication is through the
.pipeSCardSimulatorDriver<CardReaderID>
and the .pipeSCardSimulatorDriverEvents<CardReaderID>
is used for card state messages.Launch jCardSim with the command:
or
depending on which version you are using.
Installed applets are to be listed in jcardsim.cfg (see the format here), also do not forget to add the necessary classpath of your applets, for example:
Trying to communicate with jCardSim via PC/SC
Now you can use PC/SC interface in order to communicate with jCardSim, let's see how the HelloWorld Applets’s GPShell script works, for example:
Now you can use PC/SC interface in order to communicate with jCardSim, let's see how the HelloWorld Applets’s GPShell script works, for example:
Result:
Conclusion
Ok, what it is usefull for? It is simple, you can use this jCardSim functionally in order to transparently test operability of your Java Card applet that interracts with a native application, for example.
Ok, what it is usefull for? It is simple, you can use this jCardSim functionally in order to transparently test operability of your Java Card applet that interracts with a native application, for example.