PC/SC Lite smart card framework and applications