Capgen JSON Configuration File Sample
The capgen
JSON configuration file sample follows (for
Unix/Linux OS replace \\ with /):
{
"inputConfig": {
"CAP_AID": "01:02:03:04:05:10",
"CAP_name": "hellosample",
"CAP_version": "1.0",
"debug": true,
"outputDir": "thecapfile",
"inputPackages": [{
"jcainputfile": "package1\\com\\lib\\javacard\\lib.jca"
}, {
"jcainputfile": "package2\\com\\mine\\javacard\\mine.jca"
}, {
"jcainputfile": "package3\\com\\sample\\javacard\\sample.jca",
}],
"staticResources":[{
"id" : 1,
"file" : "staticres\\static1.res"
}, {
"id" : 2,
"file" : "staticres\\static2.res"
}]
}
}