Virtual PKI Smart Card
Virtual PKI smart card using CyanogenMod 9.1 software card emulation. See related article for details:
How to use
Running the Android application requires CyanogenMod 9.1 or later with software card emulation patches applied. The app will start on other ICS and later ROMs too, but the applet will never get activated. Make sure you are using a compatible CM version. You also need a supported NFC-enabled device. Tested with Galaxy Nexus, should work with any PN544-based device.
Build and start the host client
- Import the 'se-pki-client' in Eclipse.
- Make sure the PC/SC stack on your machine works.
- Connect a supported contactless reader.
- Edit the
run.shscript as necessary.
- Run the app using the script, specifying a PIN as the first parameter and a certificate file path as the second (optional). It will block waiting for a NFC device to become available.
Build and install the Android app
- Import the 'se-emulator' project in Eclipse.
- Run on a compatible device.
- Place a PKCS#12 file (up to 1024 bit key) in
/sdcard/and install via the app UI.
- Set a PIN via the app UI.
- Run the client application on a machine with a contactless reader connected.
- Place phone on reader to start.
Update 2014/1: Added HCE version
The 'hce-pki' should work on any KitKat device that supports host card emulation.