Javacard 2.2 based timelock tools