[Pcsclite-muscle] Android Smart Card Emulator

Frank Morgner morgner at informatik.hu-berlin.de
Wed Mar 11 07:11:49 UTC 2015


On Tuesday, March 10 at 05:52PM, William Roberts wrote:
> On Tue, Mar 10, 2015 at 5:19 PM, Frank Morgner <
> morgner at informatik.hu-berlin.de> wrote:
> 
> > Hi!
> >
> > I created a simple App which uses Android’s HCE to fetch APDUs from a
> > contact-less reader and delegate them to Java Card Applets. The app
> > includes the Java Card simulation runtime of jCardSim [1] as well as the
> > following Java Card applets:
> >
> > - Hello World applet [2]
> > - OpenPGP applet [3]
> > - OATH applet [4]
> > - ISO applet [5]
> >
> > With some more effort I think this could be quite interesting for a
> > variety of use cases. What do you think?
> >
> 
> Def tons of use cases. Can you elaborate on jcardsim? Looks like its just a
> jar file you can load applet byte code into.

Yes and no. jCardSim essentially provides all the packages of a standard
Java Card as well as some simulation glue code (see
http://jcardsim.org/docs/quick-start-guide-simulator-api). You need to
have the applet compiled for the JRE (in my case Dalvik VM) to let the
applet 'use' the java card environment of jCardSim.

> > Greets, Frank.
> >
> >
> > [0] https://frankmorgner.github.io/vsmartcard/ACardEmulator/README.html
> > [1] http://www.jcardsim.org/
> > [2]
> > https://github.com/licel/jcardsim/blob/master/src/main/java/com/licel/jcardsim/samples/HelloWorldApplet.java
> > [3] https://developers.yubico.com/ykneo-openpgp/
> > [4] https://developers.yubico.com/ykneo-oath/
> > [5] http://www.pwendland.net/IsoApplet/

-- 
Frank Morgner

Virtual Smart Card Architecture http://vsmartcard.sourceforge.net
OpenPACE                        http://openpace.sourceforge.net
IFD Handler for libnfc Devices  http://sourceforge.net/projects/ifdnfc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 966 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20150311/d855ee1d/attachment.sig>


More information about the Pcsclite-muscle mailing list