ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs defaults.properties
Date Thu, 03 Aug 2000 08:46:30 GMT
bodewig     00/08/03 01:46:30

  Modified:    docs     index.html
               src/main/org/apache/tools/ant/taskdefs defaults.properties
  Log:
  New task genkey.
  Submitted by:	Peter Donald <donaldp@mad.scientist.com>
  
  Revision  Changes    Path
  1.62      +89 -0     jakarta-ant/docs/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/index.html,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- index.html	2000/08/01 10:25:54	1.61
  +++ index.html	2000/08/03 08:46:27	1.62
  @@ -569,6 +569,7 @@
     <li><a href="#unzip">Expand</a></li>
     <li><a href="#filter">Filter</a></li>
     <li><a href="#fixcrlf">FixCRLF</a></li>
  +  <li><a href="#genkey">GenKey</a></li>
     <li><a href="#get">Get</a></li>
     <li><a href="#gunzip">GUnzip</a></li>
     <li><a href="#gzip">GZip</a></li>
  @@ -1362,6 +1363,94 @@
   converts all tabs to spaces.  EOF characters are left alone if run on
   DOS systems, and are removed if run on Unix systems.
   You never know what editor a user will use to browse README's.</p>
  +<hr>
  +<h2><a name="genkey">GenKey</a></h2>
  +<h3>Description</h3>
  +<p>Generates a key in keystore.</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">alias</td>
  +    <td valign="top">the alias to add 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">sigalg</td>
  +    <td valign="top">the algorithm to use in signing</td>
  +    <td valign="top" align="center">No</td>
  +  </tr>
  +  <tr>
  +    <td valign="top">keyalg</td>
  +    <td valign="top">the method to use when generating name-value pair</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">dname</td>
  +    <td valign="top">The distinguished name for entity</td>
  +    <td valign="top" align="center">Yes if dname element unspecified</td>
  +  </tr>
  +  <tr>
  +    <td valign="top">validity</td>
  +    <td valign="top">(integer) indicates how many days certificate is valid</td>
  +    <td valign="top" align="center">No</td>
  +  </tr>
  +  <tr>
  +    <td valign="top">keysize</td>
  +    <td valign="top">(integer) indicates the size of key generated</td>
  +    <td valign="top" align="center">No</td>
  +  </tr>
  +</table>
  +
  +<p>Alternatively you can specify the distinguished name by creating a sub-element
named dname and populating it with param elements that have a name and a value. When using
the subelement it is automatically encoded properly and , are replace
  +<p>The following two examples are identical: </p>
  +
  +<h3>Examples</h3>
  +<blockquote>
  +  <p><code>&lt;genkey alias=&quot;apache-group&quot; storepass=&quot;secret&quot;

  +  dname=&quot;CN=Ant Group, OU=Jakarta Division, O=Apache.org, C=US&quot; /&gt;</code></p>
  +</blockquote>
  +
  +<blockquote>
  +  <pre><code>&lt;genkey alias=&quot;apache-group&quot; storepass=&quot;secret&quot;
&gt;
  +  &lt;dname&gt;
  +    &lt;param name=&quot;CN&quot; value=&quot;Ant Group&quot;/&gt;
  +    &lt;param name=&quot;OU&quot; value=&quot;Jakarta Division&quot;/&gt;
  +    &lt;param name=&quot;O&quot;  value=&quot;Apache.Org&quot;/&gt;
  +    &lt;param name=&quot;C&quot;  value=&quot;US&quot;/&gt;
  +  &lt;/dname&gt;
  +&lt;/genkey&gt;</code></pre>
  +</blockquote>
   <hr>
   <h2><a name="get">Get</a></h2>
   <h3>Description</h3>
  
  
  
  1.30      +1 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties
  
  Index: defaults.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- defaults.properties	2000/07/31 08:04:05	1.29
  +++ defaults.properties	2000/08/03 08:46:29	1.30
  @@ -35,6 +35,7 @@
   style=org.apache.tools.ant.taskdefs.XSLTProcess
   touch=org.apache.tools.ant.taskdefs.Touch
   signjar=org.apache.tools.ant.taskdefs.SignJar
  +genkey=org.apache.tools.ant.taskdefs.GenerateKey
   antstructure=org.apache.tools.ant.taskdefs.AntStructure
   execon=org.apache.tools.ant.taskdefs.ExecuteOn
   antcall=org.apache.tools.ant.taskdefs.CallTarget
  
  
  

Mime
View raw message