--- a/jdk/src/share/classes/sun/security/tools/KeyTool.java Wed Feb 10 17:51:07 2010 -0800
+++ b/jdk/src/share/classes/sun/security/tools/KeyTool.java Fri Feb 12 10:24:02 2010 +0800
@@ -151,7 +151,7 @@
enum Command {
CERTREQ("Generates a certificate request",
- ALIAS, SIGALG, FILEOUT, KEYPASS, KEYSTORE,
+ ALIAS, SIGALG, FILEOUT, KEYPASS, KEYSTORE, DNAME,
STOREPASS, STORETYPE, PROVIDERNAME, PROVIDERCLASS,
PROVIDERARG, PROVIDERPATH, V, PROTECTED),
CHANGEALIAS("Changes an entry's alias",
@@ -167,7 +167,7 @@
STORETYPE, PROVIDERNAME, PROVIDERCLASS, PROVIDERARG,
PROVIDERPATH, V, PROTECTED),
GENKEYPAIR("Generates a key pair",
- ALIAS, KEYALG, KEYSIZE, SIGALG, DESTALIAS,
+ ALIAS, KEYALG, KEYSIZE, SIGALG, DESTALIAS, DNAME,
STARTDATE, EXT, VALIDITY, KEYPASS, KEYSTORE,
STOREPASS, STORETYPE, PROVIDERNAME, PROVIDERCLASS,
PROVIDERARG, PROVIDERPATH, V, PROTECTED),
@@ -176,7 +176,7 @@
STOREPASS, STORETYPE, PROVIDERNAME, PROVIDERCLASS,
PROVIDERARG, PROVIDERPATH, V, PROTECTED),
GENCERT("Generates certificate from a certificate request",
- RFC, INFILE, OUTFILE, ALIAS, SIGALG,
+ RFC, INFILE, OUTFILE, ALIAS, SIGALG, DNAME,
STARTDATE, EXT, VALIDITY, KEYPASS, KEYSTORE,
STOREPASS, STORETYPE, PROVIDERNAME, PROVIDERCLASS,
PROVIDERARG, PROVIDERPATH, V, PROTECTED),