Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.52 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.52 KB

belgian-e-id

Installation instructions for Windows

Getting started like in the lab sessions:

  • copy all the javacard jar files for the eclipse plugin into the dropins folder
  • change, if needed, the location of the Java Card development kit in the preferences of the JCWDE menu
  • modify the same exportpath in the CAPGenerationScript.txt (found in the JavaCard project)

Starting the different Java projects:

  • You can run the Government, the Middleware and ServiceProvider as a Java application. You can run the JavaCard applet with the JCWDE simulator.
  • Or, you can use the different scripts to run the Java applications:
  1. Open the workspace folder
  2. Compile the Java source code by running the "0. Build.cmd" script (note that this does not build the JavaCard application) Remark: Put in build.properties the home folder of your jdk 1.8
  3. Startup the governmental time server by running the "1. StartGovernmentServer.cmd" script. This opens the gov server running on port 4444.
  4. Startup the service provider software by running the "2. StartServiceProvider.cmd" script.
  5. Choose a domain, service and number of attributes and press the "Init provider" button. This opens the service provider running on port 8888.
  6. Ensure the Java Card applet is running at port 9025. (We did not find a better way than starting the JCWDE simulator...)
  7. Startup the middleware by running the "3. StartMiddleware.cmd" script.
  8. Click on the Connect button to start the connection to the java card, the government server and the service provider.