P
Paul J. Lucas
I have a double-clickable application (for both Windows and Mac OS X) written
in Java (stored in jar files) that uses a native launcher written in C to
start a JVM and run a particular class's main() contained in one of the jar
files.
I want to sign the jar files at build-time and later verify them at run-time
to ensure they haven't been altered. I want to do the verification as part
of the launcher written in C because somebody could still modify the jar
files and either leave them unsigned or resign them with his own self-signed
certificate.
I've done a lot of Google searches and I haven't been able to find any
information on doing what I want. (I only find stuff on signing applets and
verifying jar files with the jarsigner command-line tool.)
Can I do what I want and, if so, how?
- Paul
in Java (stored in jar files) that uses a native launcher written in C to
start a JVM and run a particular class's main() contained in one of the jar
files.
I want to sign the jar files at build-time and later verify them at run-time
to ensure they haven't been altered. I want to do the verification as part
of the launcher written in C because somebody could still modify the jar
files and either leave them unsigned or resign them with his own self-signed
certificate.
I've done a lot of Google searches and I haven't been able to find any
information on doing what I want. (I only find stuff on signing applets and
verifying jar files with the jarsigner command-line tool.)
Can I do what I want and, if so, how?
- Paul