Download Latest Version vsmartcard-2012-04-11.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of Virtual Smart Card Architecture

Home / ccid-emulator
Name Modified Size InfoDownloads / Week
Parent folder
ccid-emulator-0.7.tar.gz 2013-07-03 549.3 kB
README.rst 2012-04-11 1.7 kB
ccid-emulator-0.6.tar.gz 2012-04-11 578.0 kB
ccid-emulator-0.5.tar.gz 2011-02-08 462.5 kB
ccid-emulator-0.4.tar.gz 2010-12-08 397.8 kB
ccid-emulator-0.3.tar.gz 2010-07-01 196.0 kB
Totals: 6 Items   2.2 MB 0

USB CCID Emulator

The USB CCID Emulator forwards a locally present PC/SC smart card reader as a standard USB CCID reader. USB CCID Emulator can be used as trusted intermediary enabling secure PIN entry and PIN modification. In combination with the nPA library also PACE can be performed by the emulator.

If the machine running ccid-emulator is in USB device mode, a local reader is forwareded via USB to another machine. If in USB host mode, the USB CCID reader will locally be present.

Applications on Windows and Unix-like systems can access the USB CCID Emulator through PC/SC as if it was a real smart card reader. No installation of a smart card driver is required since USB CCID drivers are usually shipped with the modern OS.

Here is a subset of USB CCID commands supported by the USB CCID Emulator with their PC/SC counterpart:

USB CCID PC/SC
PC_to_RDR_XfrBlock SCardTransmit
PC_to_RDR_Secure FEATURE_VERIFY_PIN_DIRECT, FEATURE_MODIFY_PIN_DIRECT
PC_to_RDR_Secure (proprietary) FEATURE_EXECUTE_PACE

The USB CCID Emulator is implemented using GadgetFS. Some fragments of the source code are based on the GadgetFS example and on the source code of the OpenSC tools.

Source: README.rst, updated 2012-04-11