Attribute | Description | Required
|
---|---|---|
jar | the jar file to sign | Yes, unless nested filesets have been used. |
alias | the alias to sign under | Yes. |
storepass | password for keystore integrity. | Yes. |
keystore | keystore location | No |
storetype | keystore type | No |
keypass | password for private key (if different) | No |
sigfile | name of .SF/.DSA file | No |
signedjar | name of signed JAR file | No |
verbose | (true | false) verbose output when signing | No; default false |
internalsf | (true | false) include the .SF file inside the signature block | No; default false |
sectionsonly | (true | false) don't compute hash of entire manifest | No; default false |
lazy | flag to control whether the presence of a signature file means a JAR is signed | No; default false |
maxmemory | Specifies the maximum memory the jarsigner VM will use. Specified in the style of standard java memory specs (e.g. 128m = 128 MBytes) | No |