Search code examples
java

What is JAR signing in Java?


What is JAR signing? Can we customize it? I mean having our own signature.


Solution

  • Jar signing is the process of applying a digital signature to a jar file so the receiver, using your public key, can verify its authenticity.

    Yes you can use it. You just need to create a key and add it with keytool.

    See JAR Signing.