resources.java
来自「This is a resource based on j2me embedde」· Java 代码 · 共 540 行 · 第 1/2 页
JAVA
540 行
/* * @(#)Resources.java 1.19 06/10/10 * * Copyright 1990-2008 Sun Microsystems, Inc. All Rights Reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License version 2 for more details (a copy is * included at /legal/license.txt). * * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions. */package sun.security.util;/** * <p> This class represents the <code>ResourceBundle</code> * for javax.security.auth and sun.security. * * @version 1.19, 10/10/06 */public class Resources extends java.util.ListResourceBundle { private static final Object[][] contents = { // shared (from jarsigner) {" ", " "}, {" ", " "}, {" ", " "}, {", ", ", "}, // shared (from keytool) {"\n", "\n"}, {"*******************************************", "*******************************************"}, {"*******************************************\n\n", "*******************************************\n\n"}, // keytool {"keytool error: ", "keytool error: "}, {"Illegal option: ", "Illegal option: "}, {"Validity must be greater than zero", "Validity must be greater than zero"}, {"provName not a provider", "{0} not a provider"}, {"Must not specify both -v and -rfc with 'list' command", "Must not specify both -v and -rfc with 'list' command"}, {"Key password must be at least 6 characters", "Key password must be at least 6 characters"}, {"New password must be at least 6 characters", "New password must be at least 6 characters"}, {"Keystore file exists, but is empty: ", "Keystore file exists, but is empty: "}, {"Keystore file does not exist: ", "Keystore file does not exist: "}, {"Must specify destination alias", "Must specify destination alias"}, {"Must specify alias", "Must specify alias"}, {"Keystore password must be at least 6 characters", "Keystore password must be at least 6 characters"}, {"Enter keystore password: ", "Enter keystore password: "}, {"Keystore password is too short - must be at least 6 characters", "Keystore password is too short - must be at least 6 characters"}, {"Too many failures - try later", "Too many failures - try later"}, {"Certification request stored in file <filename>", "Certification request stored in file <{0}>"}, {"Submit this to your CA", "Submit this to your CA"}, {"Certificate stored in file <filename>", "Certificate stored in file <{0}>"}, {"Certificate reply was installed in keystore", "Certificate reply was installed in keystore"}, {"Certificate reply was not installed in keystore", "Certificate reply was not installed in keystore"}, {"Certificate was added to keystore", "Certificate was added to keystore"}, {"Certificate was not added to keystore", "Certificate was not added to keystore"}, {"[Saving ksfname]", "[Saving {0}]"}, {"alias has no public key (certificate)", "{0} has no public key (certificate)"}, {"Cannot derive signature algorithm", "Cannot derive signature algorithm"}, {"Alias <alias> does not exist", "Alias <{0}> does not exist"}, {"Alias <alias> has no certificate", "Alias <{0}> has no certificate"}, {"Key pair not generated, alias <alias> 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)\n\tfor: x500Name", "Generating {0} bit {1} key pair and self-signed certificate ({2})\n\tfor: {3}"}, {"Enter key password for <alias>", "Enter key password for <{0}>"}, {"\t(RETURN if same as keystore password): ", "\t(RETURN if same as keystore password): "}, {"Key password is too short - must be at least 6 characters", "Key password is too short - must be at least 6 characters"}, {"Too many failures - key not added to keystore", "Too many failures - key not added to keystore"}, {"Destination alias <dest> already exists", "Destination alias <{0}> already exists"}, {"Password is too short - must be at least 6 characters", "Password is too short - must be at least 6 characters"}, {"Too many failures. Key entry not cloned", "Too many failures. Key entry not cloned"}, {"key password for <alias>", "key password for <{0}>"}, {"Keystore entry for <id.getName()> already exists", "Keystore entry for <{0}> already exists"}, {"Creating keystore entry for <id.getName()> ...", "Creating keystore entry for <{0}> ..."}, {"No entries from identity database added", "No entries from identity database added"}, {"Alias name: alias", "Alias name: {0}"}, {"Creation date: keyStore.getCreationDate(alias)", "Creation date: {0,date}"}, {"alias, keyStore.getCreationDate(alias), ", "{0}, {1,date}, "}, {"Entry type: keyEntry", "Entry type: keyEntry"}, {"keyEntry,", "keyEntry,"}, {"Certificate chain length: ", "Certificate chain length: "}, {"Certificate[(i + 1)]:", "Certificate[{0,number,integer}]:"}, {"Certificate fingerprint (MD5): ", "Certificate fingerprint (MD5): "}, {"Entry type: trustedCertEntry\n", "Entry type: trustedCertEntry\n"}, {"trustedCertEntry,", "trustedCertEntry,"}, {"Keystore type: ", "Keystore type: "}, {"Keystore provider: ", "Keystore provider: "}, {"Your keystore contains keyStore.size() entry", "Your keystore contains {0,number,integer} entry"}, {"Your keystore contains keyStore.size() entries", "Your keystore contains {0,number,integer} entries"}, {"Failed to parse input", "Failed to parse input"}, {"Empty input", "Empty input"}, {"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 X.509 certificate", "{0} has no X.509 certificate"}, {"New certificate (self-signed):", "New certificate (self-signed):"}, {"Reply has no certificates", "Reply has no certificates"}, {"Certificate not imported, alias <alias> already exists", "Certificate not imported, alias <{0}> already exists"}, {"Input not an X.509 certificate", "Input not an X.509 certificate"}, {"Certificate already exists in keystore under alias <trustalias>", "Certificate already exists in keystore under alias <{0}>"}, {"Do you still want to add it? [no]: ", "Do you still want to add it? [no]: "}, {"Certificate already exists in system-wide CA keystore under alias <trustalias>", "Certificate already exists in system-wide CA keystore under alias <{0}>"}, {"Do you still want to add it to your own keystore? [no]: ", "Do you still want to add it to your own keystore? [no]: "}, {"Trust this certificate? [no]: ", "Trust this certificate? [no]: "}, {"YES", "YES"}, {"New prompt: ", "New {0}: "}, {"Passwords must differ", "Passwords must differ"}, {"Re-enter new prompt: ", "Re-enter new {0}: "}, {"They don't match; try again", "They don't match; try again"}, {"Enter prompt alias name: ", "Enter {0} alias name: "}, {"Enter alias name: ", "Enter alias name: "}, {"\t(RETURN if same as for <otherAlias>)", "\t(RETURN if same as for <{0}>)"}, {"*PATTERN* printX509Cert", "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t MD5: {5}\n\t SHA1: {6}"}, {"What is your first and last name?", "What is your first and last name?"}, {"What is the name of your organizational unit?", "What is the name of your organizational unit?"}, {"What is the name of your organization?", "What is the name of your organization?"}, {"What is the name of your City or Locality?", "What is the name of your City or Locality?"}, {"What is the name of your State or Province?", "What is the name of your State or Province?"}, {"What is the two-letter country code for this unit?", "What is the two-letter country code for this unit?"}, {"Is <name> correct?", "Is {0} correct?"}, {"no", "no"}, {"yes", "yes"}, {"y", "y"}, {" [defaultValue]: ", " [{0}]: "}, {"Alias <alias> has no (private) key", "Alias <{0}> has no (private) key"}, {"Recovered key is not a private key", "Recovered key is not a private key"}, {"***************** WARNING WARNING WARNING *****************", "***************** WARNING WARNING WARNING *****************"}, {"* The integrity of the information stored in your keystore *", "* The integrity of the information stored in your keystore *"}, {"* has NOT been verified! In order to verify its integrity, *", "* has NOT been verified! In order to verify its integrity, *"}, {"* you must provide your keystore password. *", "* you must provide your keystore password. *"}, {"Certificate reply does not contain public key for <alias>", "Certificate reply does not contain public key for <{0}>"}, {"Incomplete certificate chain in reply", "Incomplete certificate chain in reply"}, {"Certificate chain in reply does not verify: ", "Certificate chain in reply does not verify: "}, {"Top-level certificate in reply:\n", "Top-level certificate in reply:\n"}, {"... is not trusted. ", "... is not trusted. "}, {"Install reply anyway? [no]: ", "Install reply anyway? [no]: "}, {"NO", "NO"}, {"Public keys in reply and keystore don't match", "Public keys in reply and keystore don't match"}, {"Certificate reply and certificate in keystore are identical", "Certificate reply and certificate in keystore are identical"}, {"Failed to establish chain from reply", "Failed to establish chain from reply"}, {"n", "n"}, {"Wrong answer, try again", "Wrong answer, try again"}, {"keytool usage:\n", "keytool usage:\n"}, {"-certreq [-v] [-alias <alias>] [-sigalg <sigalg>]", "-certreq [-v] [-alias <alias>] [-sigalg <sigalg>]"}, {"\t [-file <csr_file>] [-keypass <keypass>]", "\t [-file <csr_file>] [-keypass <keypass>]"}, {"\t [-keystore <keystore>] [-storepass <storepass>]", "\t [-keystore <keystore>] [-storepass <storepass>]"}, {"\t [-storetype <storetype>] [-provider <provider_class_name>] ...", "\t [-storetype <storetype>] [-provider <provider_class_name>] ..."}, {"-delete [-v] -alias <alias>", "-delete [-v] -alias <alias>"}, {"\t [-keystore <keystore>] [-storepass <storepass>]", "\t [-keystore <keystore>] [-storepass <storepass>]"}, {"\t [-storetype <storetype>] [-provider <provider_class_name>] ...", "\t [-storetype <storetype>] [-provider <provider_class_name>] ..."}, {"-export [-v] [-rfc] [-alias <alias>] [-file <cert_file>]", "-export [-v] [-rfc] [-alias <alias>] [-file <cert_file>]"}, {"\t [-keystore <keystore>] [-storepass <storepass>]", "\t [-keystore <keystore>] [-storepass <storepass>]"}, {"\t [-storetype <storetype>] [-provider <provider_class_name>] ...", "\t [-storetype <storetype>] [-provider <provider_class_name>] ..."}, {"-genkey [-v] [-alias <alias>] [-keyalg <keyalg>]", "-genkey [-v] [-alias <alias>] [-keyalg <keyalg>]"}, {"\t [-keysize <keysize>] [-sigalg <sigalg>]", "\t [-keysize <keysize>] [-sigalg <sigalg>]"}, {"\t [-dname <dname>] [-validity <valDays>]", "\t [-dname <dname>] [-validity <valDays>]"}, {"\t [-keypass <keypass>] [-keystore <keystore>]", "\t [-keypass <keypass>] [-keystore <keystore>]"}, {"\t [-storepass <storepass>] [-storetype <storetype>]", "\t [-storepass <storepass>] [-storetype <storetype>]"}, {"\t [-provider <provider_class_name>] ...", "\t [-provider <provider_class_name>] ..."}, {"-help", "-help"}, {"-identitydb [-v] [-file <idb_file>] [-keystore <keystore>]", "-identitydb [-v] [-file <idb_file>] [-keystore <keystore>]"}, {"\t [-storepass <storepass>] [-storetype <storetype>]", "\t [-storepass <storepass>] [-storetype <storetype>]"}, {"\t [-provider <provider_class_name>] ...", "\t [-provider <provider_class_name>] ..."}, {"-import [-v] [-noprompt] [-trustcacerts] [-alias <alias>]", "-import [-v] [-noprompt] [-trustcacerts] [-alias <alias>]"}, {"\t [-file <cert_file>] [-keypass <keypass>]", "\t [-file <cert_file>] [-keypass <keypass>]"}, {"\t [-keystore <keystore>] [-storepass <storepass>]", "\t [-keystore <keystore>] [-storepass <storepass>]"}, {"\t [-storetype <storetype>] [-provider <provider_class_name>] ...", "\t [-storetype <storetype>] [-provider <provider_class_name>] ..."}, {"-keyclone [-v] [-alias <alias>] -dest <dest_alias>", "-keyclone [-v] [-alias <alias>] -dest <dest_alias>"},
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?