diff --git a/docs/index.html b/docs/index.html index e7fb9b731..1d64bdeb6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -569,6 +569,7 @@ If you do not want these default excludes applied, you may disable them with the
Generates a key in keystore.
+ +Attribute | +Description | +Required | +
alias | +the alias to add under | +Yes. | +
storepass | +password for keystore integrity. | +Yes. | +
keystore | +keystore location | +No | +
storetype | +keystore type | +No | +
keypass | +password for private key (if different) | +No | +
sigalg | +the algorithm to use in signing | +No | +
keyalg | +the method to use when generating name-value pair | +No | +
verbose | +(true | false) verbose output when signing | +No | +
dname | +The distinguished name for entity | +Yes if dname element unspecified | +
validity | +(integer) indicates how many days certificate is valid | +No | +
keysize | +(integer) indicates the size of key generated | +No | +
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 +
The following two examples are identical:
+ +++ ++
<genkey alias="apache-group" storepass="secret" + dname="CN=Ant Group, OU=Jakarta Division, O=Apache.org, C=US" />
+++<genkey alias="apache-group" storepass="secret" > + <dname> + <param name="CN" value="Ant Group"/> + <param name="OU" value="Jakarta Division"/> + <param name="O" value="Apache.Org"/> + <param name="C" value="US"/> + </dname> +</genkey>
Gets a file from a URL. When the verbose option is "on", this task diff --git a/src/main/org/apache/tools/ant/taskdefs/defaults.properties b/src/main/org/apache/tools/ant/taskdefs/defaults.properties index d95161e24..20cceef3e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/defaults.properties +++ b/src/main/org/apache/tools/ant/taskdefs/defaults.properties @@ -35,6 +35,7 @@ compileTask=org.apache.tools.ant.taskdefs.CompileTask 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