Libchipcard is a framework for easy access to chipcards and smartcards via PC/SC. It works under Linux, FreeBSD, OpenBSD, Mac OS X, and Windows.