From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../ant/apache-ant-1.9.6/manual/Tasks/genkey.html | 125 +++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/genkey.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/genkey.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/genkey.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/genkey.html new file mode 100644 index 00000000..96959c2f --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/genkey.html @@ -0,0 +1,125 @@ + + + + + + +GenKey Task + + + + +

GenKey

+

Description

+

Generates a key in a keystore.

+ +

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
aliasthe alias to add underYes.
storepasspassword for keystore integrity. Must + be at least 6 characters longYes.
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 commas (",") are replaced +with "\,".

+ +

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>
+
+ + + + + -- cgit 1.2.3-korg