SmartCard Handler – Java Library

SmartCard Handler, shortly named SCHandler, is a library that abstracts the handling of smart cards. The underlying code base uses the newly created package java.smartcardio.* (since SUN Java 1.6). Currently there are no dependencies of third part libraries. That makes the code very portable.

Precondition

On the Hardware site:

  • Smartcard Reader: I use a Omnikey 5321 USB that supports RFID (13.56 Mhz) and contact smart cards.
  • Contactless or contact smart card: I use Mifare 1K cards for RFID and the FSFE card (is a OpenPGP card) for contact smart card.

On the software site:

  • Java 1.6: During my tests the free implementation IcedTea6 had no support for the javax.smartcardio.* package.

Currently there is a very basic implementation for the Mifare1K and the FSFE card. The abstraction was implementation on the base of the specification, that is available for the two card types.

Source Code (GitWeb)

About Alex Oberhauser

Alex Oberhauser’s current private and professional interests are Research and Development in the area of Semantic Web and Service Oriented Architecture with the focus on the applicability of new technologies in real world scenarios. He is founder of the meta project Networld and the Crisis Information Platform Sigimera (http://www.sigimera.org).



Fork me on GitHub
Category(s): Development
Tags: , , , , ,

2 Responses to SmartCard Handler – Java Library

  1. Adding now the possibility to store data on the mifare1k card without bothering in which block the data is stored. Additional the read out of the data is now possible. The return value is not a byte array but the stored string.

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

 

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>