Structured Card Query Language Java Smart Card Applet is an implementation of the ISO 7816-7 standard for smart cards. The implementation allows to run a database on a smart card with limited memory and to execute SCQL APDUs within the database environment.
scql-interpreter - an interpreter, which translates SCQL commands into APDU calls.
Project is implemented by using Oracle Java Card 3.1.
Before running the project, make sure you have installed JDK 11, Java Card Development Kit Tools, Java Card Development Kit Simulator with
configured system variables JAVA_HOME and JC_HOME_TOOLS.
All instructions for installing and setting up the environment for the project can be found in the Oracle documentation.
-
Right click on the imported
scql-appletproject in Eclipse and selectJava Cardfrom the drop down menu. Then selectCAP Files Settings; -
Select
scql-appletfrom the menu and click on theEditbutton; -
From there, select
Compact CAP fileand click next; -
In the next window, make sure that the target platform version is
3.1.0. And enable theSupport the 32-bit integer typeandOutput CAP filecheckboxes; -
Switch to the
ScriptGentab and make sure that theSuppress "PowerDown"checkbox is selected and clickFinish.