sign4j (https://github.com/fbergmann/launch4j/tree/master/sign4j) implemented in Java