This project is based on an internship made in 2019 in Reggio di Calabria, Italy
To use this java application with tomcat you first need to create a jsonfile config.json
in your tomcat bin repository including a domain
field your domain (for exemple https://myDomain.com
).
The content of src/main/java/servlet/register
is related to the Registration tool.
The content of src/main/java/servlet/consult
is related the Consulting tool.
the folder src/main/java/utils
contains all the utility function.
Assertion folder contains all the functions and class needed to create assertions.
XML folder contains all the classes and functions needed to manipulate XML files
CryptoUtils contain the function needed to hash the contain to place in the blockchain such as the assertion
This folder contains a function to generate random name that we use to place the assertion or generate a random challenge
This folder contains the function we use to interact with ethereum blockchain using Web3j dependency.