Can you think of a mechanism to guarantee my software (GUI application) is the software that I'm currently running and not an imposter (as a black box).
It sounds as a crazy requirement, but this software determines life (it is a medical device) and if someone insists on doing bad, he can just create a similar software and make sure somehow to replace the genuine one with his version.
Any hardware / software option is valid for me. I'm targeting Windows and the Java language. If needs to complement with another piece of software/hardware to make it work together, this is of course doable.
BR, Oren
Your best bet is to follow a standard procedure for this. In a nutshell, here's what you can do.
On your machine:
On code runner machine
For detail, please follow this tutorial.