提交 d9b97433 编写于 作者: W weijun

6988163: sun.security.util.Resources dup and a keytool doc typo

Reviewed-by: xuelei
上级 7751ed43
...@@ -281,7 +281,7 @@ public final class KeyTool { ...@@ -281,7 +281,7 @@ public final class KeyTool {
RFC("rfc", null, "output in RFC style"), RFC("rfc", null, "output in RFC style"),
SIGALG("sigalg", "<sigalg>", "signature algorithm name"), SIGALG("sigalg", "<sigalg>", "signature algorithm name"),
SRCALIAS("srcalias", "<srcalias>", "source alias"), SRCALIAS("srcalias", "<srcalias>", "source alias"),
SRCKEYPASS("srckeypass", "<arg>", "source keystore password"), SRCKEYPASS("srckeypass", "<arg>", "source key password"),
SRCKEYSTORE("srckeystore", "<srckeystore>", "source keystore name"), SRCKEYSTORE("srckeystore", "<srckeystore>", "source keystore name"),
SRCPROTECTED("srcprotected", null, "source keystore password protected"), SRCPROTECTED("srcprotected", null, "source keystore password protected"),
SRCPROVIDERNAME("srcprovidername", "<srcprovidername>", "source keystore provider name"), SRCPROVIDERNAME("srcprovidername", "<srcprovidername>", "source keystore provider name"),
......
...@@ -116,11 +116,9 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -116,11 +116,9 @@ public class Resources extends java.util.ListResourceBundle {
{"X.509 extension", {"X.509 extension",
"X.509 extension"}, //-ext "X.509 extension"}, //-ext
{"output file name", {"output file name",
"output file name"}, //-file "output file name"}, //-file and -outfile
{"input file name", {"input file name",
"input file name"}, //-file "input file name"}, //-file and -infile
{"input file name",
"input file name"}, //-infile
{"key algorithm name", {"key algorithm name",
"key algorithm name"}, //-keyalg "key algorithm name"}, //-keyalg
{"key password", {"key password",
...@@ -133,8 +131,6 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -133,8 +131,6 @@ public class Resources extends java.util.ListResourceBundle {
"new password"}, //-new "new password"}, //-new
{"do not prompt", {"do not prompt",
"do not prompt"}, //-noprompt "do not prompt"}, //-noprompt
{"output file name",
"output file name"}, //-outfile
{"password through protected mechanism", {"password through protected mechanism",
"password through protected mechanism"}, //-protected "password through protected mechanism"}, //-protected
{"provider argument", {"provider argument",
...@@ -151,8 +147,8 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -151,8 +147,8 @@ public class Resources extends java.util.ListResourceBundle {
"signature algorithm name"}, //-sigalg "signature algorithm name"}, //-sigalg
{"source alias", {"source alias",
"source alias"}, //-srcalias "source alias"}, //-srcalias
{"source keystore password", {"source key password",
"source keystore password"}, //-srckeypass "source key password"}, //-srckeypass
{"source keystore name", {"source keystore name",
"source keystore name"}, //-srckeystore "source keystore name"}, //-srckeystore
{"source keystore password protected", {"source keystore password protected",
...@@ -276,8 +272,6 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -276,8 +272,6 @@ public class Resources extends java.util.ListResourceBundle {
"Alias <{0}> has no certificate"}, "Alias <{0}> has no certificate"},
{"Key pair not generated, alias <alias> already exists", {"Key pair not generated, alias <alias> already exists",
"Key pair not generated, alias <{0}> already exists"}, "Key pair not generated, alias <{0}> already exists"},
{"Cannot derive signature algorithm",
"Cannot derive signature algorithm"},
{"Generating keysize bit keyAlgName key pair and self-signed certificate (sigAlgName) with a validity of validality days\n\tfor: x500Name", {"Generating keysize bit keyAlgName key pair and self-signed certificate (sigAlgName) with a validity of validality days\n\tfor: x500Name",
"Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"}, "Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
{"Enter key password for <alias>", "Enter key password for <{0}>"}, {"Enter key password for <alias>", "Enter key password for <{0}>"},
...@@ -321,8 +315,6 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -321,8 +315,6 @@ public class Resources extends java.util.ListResourceBundle {
{"Failed to parse input", "Failed to parse input"}, {"Failed to parse input", "Failed to parse input"},
{"Empty input", "Empty input"}, {"Empty input", "Empty input"},
{"Not X.509 certificate", "Not X.509 certificate"}, {"Not X.509 certificate", "Not X.509 certificate"},
{"Cannot derive signature algorithm",
"Cannot derive signature algorithm"},
{"alias has no public key", "{0} has no public key"}, {"alias has no public key", "{0} has no public key"},
{"alias has no X.509 certificate", "{0} has no X.509 certificate"}, {"alias has no X.509 certificate", "{0} has no X.509 certificate"},
{"New certificate (self-signed):", "New certificate (self-signed):"}, {"New certificate (self-signed):", "New certificate (self-signed):"},
...@@ -552,7 +544,6 @@ public class Resources extends java.util.ListResourceBundle { ...@@ -552,7 +544,6 @@ public class Resources extends java.util.ListResourceBundle {
{"package name", "package name"}, {"package name", "package name"},
{"policy type", "policy type"}, {"policy type", "policy type"},
{"property name", "property name"}, {"property name", "property name"},
{"provider name", "provider name"},
{"Principal List", "Principal List"}, {"Principal List", "Principal List"},
{"Permission List", "Permission List"}, {"Permission List", "Permission List"},
{"Code Base", "Code Base"}, {"Code Base", "Code Base"},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册