I have a question. When I sign my JAR file, which I will open as an applet, I use Command Prompt and command:
jarsigner -keystore <path to key store> <path to jar file> <alias>
But is it possible to do this by using only Java? I would start my JAR with some Jarsigner.class
file by Command Prompt, then it would be automatically signed and then I could open this JAR in my browser as an applet. The keystore would be placed as a resource in JAR.