I am new to this topic, so I hope I use the correct dictionary. Is it possible to get the Jarsigner feature inside Java self?
I need the ability to do the following things programmatically:
- check if a jar is signed with a specific private key from the keystore
- if checked: unsign the jar
- Sign the bank with another private key from an official certification authority located in the same or in a different keystore
In pseudo code, I imagine something like this:
JarVerifier verifier = new JarVerifier();
verifier.verify(jarFile);
Signing a jar should work in a similar way:
JarSigner signer = new JarSigner();
signer.sign(jarFile);
, , . , , OpenJDK, , .
, ( ), (, ) .
, , , , , , Oracle, , .