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
  • Expand
  • Filter
  • FixCRLF
  • +
  • GenKey
  • Get
  • GUnzip
  • GZip
  • @@ -1363,6 +1364,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.


    +

    GenKey

    +

    Description

    +

    Generates a key in keystore.

    + +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AttributeDescriptionRequired
    aliasthe alias to add underYes.
    storepasspassword for keystore integrity.Yes.
    keystorekeystore locationNo
    storetypekeystore typeNo
    keypasspassword for private key (if different)No
    sigalgthe algorithm to use in signingNo
    keyalgthe method to use when generating name-value pairNo
    verbose(true | false) verbose output when signingNo
    dnameThe distinguished name for entityYes if dname element unspecified
    validity(integer) indicates how many days certificate is validNo
    keysize(integer) indicates the size of key generatedNo
    + +

    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:

    + +

    Examples

    +
    +

    <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>
    +
    +

    Get

    Description

    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