mirror of
https://github.com/apache/ant.git
synced 2025-05-17 13:35:43 +00:00
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269839 13f79535-47bb-0310-9956-ffa450edef68
92 lines
2.5 KiB
HTML
92 lines
2.5 KiB
HTML
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="en-us">
|
|
<title>Apache Ant User Manual</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h2><a name="signjar">SignJar</a></h2>
|
|
<h3>Description</h3>
|
|
<p>Signs a jar or zip file with the javasign command line tool.</p>
|
|
|
|
<h3>Parameters</h3>
|
|
<table border="1" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td valign="top"><b>Attribute</b></td>
|
|
<td valign="top"><b>Description</b></td>
|
|
<td align="center" valign="top"><b>Required</b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">jar</td>
|
|
<td valign="top">the jar file to sign</td>
|
|
<td valign="top" align="center">Yes.</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">alias</td>
|
|
<td valign="top">the alias to sign under</td>
|
|
<td valign="top" align="center">Yes.</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">storepass</td>
|
|
<td valign="top">password for keystore integrity.</td>
|
|
<td valign="top" align="center">Yes.</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">keystore</td>
|
|
<td valign="top">keystore location</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">storetype</td>
|
|
<td valign="top">keystore type</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">keypass</td>
|
|
<td valign="top">password for private key (if different)</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">sigfile</td>
|
|
<td valign="top">name of .SF/.DSA file</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">signedjar</td>
|
|
<td valign="top">name of signed JAR file</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">verbose</td>
|
|
<td valign="top">(true | false) verbose output when signing</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">internalsf</td>
|
|
<td valign="top">(true | false) include the .SF file inside the signature
|
|
block</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">sectionsonly</td>
|
|
<td valign="top">(true | false) don't compute hash of entire manifest</td>
|
|
<td valign="top" align="center">No</td>
|
|
</tr>
|
|
</table>
|
|
<h3>Examples</h3>
|
|
<blockquote>
|
|
<p><code><signjar jar="${dist}/lib/ant.jar"
|
|
alias="apache-group" storepass="secret"/></code></p>
|
|
</blockquote>
|
|
<p>signs the ant.jar with alias "apache-group" accessing the
|
|
keystore and private key via "secret" password.</p>
|
|
<hr>
|
|
<p align="center">Copyright © 2000,2001 Apache Software Foundation. All rights
|
|
Reserved.</p>
|
|
|
|
</body>
|
|
</html>
|
|
|