The jarsigner tool has two purposes: to sign Java Archive (JAR) files; to verify the signatures and integrity of signed JAR files.