May 2002
Intermediate to advanced
288 pages
10h 50m
English
signjar
Executes the jarsigner command-line tool.
alias (all, String, Y)Specifies the alias to sign under.
internalsf (all, boolean, N)If true, include the .SF file
inside the signature block. Defaults to false.
jar (all, String, Y)The JAR file to sign.
keypass (all, String, *)The password for the private key.
keystore (all, String, N)The keystore location.
sectionsonly (all, boolean, N)If true, don’t compute the hash
of the entire manifest. Defaults to false.
sigfile (all, String, N)The name of the .SF or .DSA
file.
signedjar (all, String, N)The name of the signed JAR file.
storepass (all, String, Y)The password for keystore integrity.
storetype (all, String, N)The keystore type.
verbose (all, boolean, N)If true, produce verbose output. Defaults to
false.
keypass is required if the private key password is
different than the keystore password.
<fileset> elements (1.4)Use in place of the jar attribute to sign multiple
files.
<signjar jar="${builddir}/server.jar" alias="oreilly"
storepass="${password}"/>Read now
Unlock full access