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-applet
project in Eclipse and selectJava Card
from the drop down menu. Then selectCAP Files Settings
; -
Select
scql-applet
from the menu and click on theEdit
button; -
From there, select
Compact CAP file
and click next; -
In the next window, make sure that the target platform version is
3.1.0
. And enable theSupport the 32-bit integer type
andOutput CAP file
checkboxes; -
Switch to the
ScriptGen
tab and make sure that theSuppress "PowerDown"
checkbox is selected and clickFinish
.