#REST interface for GlobalPlatformPro GlobalPlatformPro is a nice tool for JavaCard management (e.g., applet install, info).
This project builds REST interface on top of it so it is possible to install java card applets remotely.
- Provides simple REST binding
- Uses Spring-boot, Spring 4, Gradle
- HTTPS (Letsencrypt)
- Authentication / API key
- Specify allowed commands / cards to use
There are several ways for testing this REST server.
Start embedded Tomcat container:
./gradlew bootRun
Server is reachable on http://127.0.0.1:8081
To build JAR with embedded servlet container use
./gradlew bootRepackage
Then run the server
java -jar rest/build/libs/gppro-rest-0.1.0.jar
You can build WAR archive which can be used in the servlet containers such as Tomcat. To build war:
./gradlew war
http://127.0.0.1:8081/api/v1/raw/?request=--debug%20--list