jarsigner
Sign and verify Java Archive (JAR) files.
TLDR
Sign a JAR file
Sign a JAR file with a specific algorithm
Verify the signature of a JAR file
Help
Usage: jarsigner [options] jar-file alias
jarsigner -verify [options] jar-file [alias...]
[-keystore
[-storepass
[-storetype
[-keypass
[-certchain
[-sigfile
[-signedjar
[-digestalg
[-sigalg
[-verify] verify a signed JAR file
[-verbose[:suboptions]] verbose output when signing/verifying.
suboptions can be all, grouped or summary
[-certs] display certificates when verbose and verifying
[-tsa
[-tsacert
[-tsapolicyid
[-tsadigestalg
[-altsigner
(This option has been deprecated.)
[-altsignerpath
(This option has been deprecated.)
[-internalsf] include the .SF file inside the signature block
[-sectionsonly] don't compute hash of entire manifest
[-protected] keystore has protected authentication path
[-providerName
[-addprovider
[-providerArg
[-providerClass
[-providerArg
[-strict] treat warnings as errors
[-conf
[-? -h --help] Print this help message