jdk/src/share/classes/sun/security/util/Resources.java
changeset 14182 3041082abb40
parent 11912 49b066b32693
child 15664 e33b115f1981
equal deleted inserted replaced
14181:f723098d438c 14182:3041082abb40
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    32  */
    32  */
    33 public class Resources extends java.util.ListResourceBundle {
    33 public class Resources extends java.util.ListResourceBundle {
    34 
    34 
    35     private static final Object[][] contents = {
    35     private static final Object[][] contents = {
    36 
    36 
    37         // shared (from jarsigner)
       
    38         {"SPACE", " "},
       
    39         {"2SPACE", "  "},
       
    40         {"6SPACE", "      "},
       
    41         {"COMMA", ", "},
       
    42         // shared (from keytool)
       
    43         {"NEWLINE", "\n"},
       
    44         {"STAR",
       
    45                 "*******************************************"},
       
    46         {"STARNN",
       
    47                 "*******************************************\n\n"},
       
    48 
       
    49         // keytool: Help part
       
    50         {".OPTION.", " [OPTION]..."},
       
    51         {"Options.", "Options:"},
       
    52         {"Use.keytool.help.for.all.available.commands",
       
    53                  "Use \"keytool -help\" for all available commands"},
       
    54         {"Key.and.Certificate.Management.Tool",
       
    55                  "Key and Certificate Management Tool"},
       
    56         {"Commands.", "Commands:"},
       
    57         {"Use.keytool.command.name.help.for.usage.of.command.name",
       
    58                 "Use \"keytool -command_name -help\" for usage of command_name"},
       
    59         // keytool: help: commands
       
    60         {"Generates.a.certificate.request",
       
    61                 "Generates a certificate request"}, //-certreq
       
    62         {"Changes.an.entry.s.alias",
       
    63                 "Changes an entry's alias"}, //-changealias
       
    64         {"Deletes.an.entry",
       
    65                 "Deletes an entry"}, //-delete
       
    66         {"Exports.certificate",
       
    67                 "Exports certificate"}, //-exportcert
       
    68         {"Generates.a.key.pair",
       
    69                 "Generates a key pair"}, //-genkeypair
       
    70         {"Generates.a.secret.key",
       
    71                 "Generates a secret key"}, //-genseckey
       
    72         {"Generates.certificate.from.a.certificate.request",
       
    73                 "Generates certificate from a certificate request"}, //-gencert
       
    74         {"Generates.CRL", "Generates CRL"}, //-gencrl
       
    75         {"Imports.entries.from.a.JDK.1.1.x.style.identity.database",
       
    76                 "Imports entries from a JDK 1.1.x-style identity database"}, //-identitydb
       
    77         {"Imports.a.certificate.or.a.certificate.chain",
       
    78                 "Imports a certificate or a certificate chain"}, //-importcert
       
    79         {"Imports.one.or.all.entries.from.another.keystore",
       
    80                 "Imports one or all entries from another keystore"}, //-importkeystore
       
    81         {"Clones.a.key.entry",
       
    82                 "Clones a key entry"}, //-keyclone
       
    83         {"Changes.the.key.password.of.an.entry",
       
    84                 "Changes the key password of an entry"}, //-keypasswd
       
    85         {"Lists.entries.in.a.keystore",
       
    86                 "Lists entries in a keystore"}, //-list
       
    87         {"Prints.the.content.of.a.certificate",
       
    88                 "Prints the content of a certificate"}, //-printcert
       
    89         {"Prints.the.content.of.a.certificate.request",
       
    90                 "Prints the content of a certificate request"}, //-printcertreq
       
    91         {"Prints.the.content.of.a.CRL.file",
       
    92                 "Prints the content of a CRL file"}, //-printcrl
       
    93         {"Generates.a.self.signed.certificate",
       
    94                 "Generates a self-signed certificate"}, //-selfcert
       
    95         {"Changes.the.store.password.of.a.keystore",
       
    96                 "Changes the store password of a keystore"}, //-storepasswd
       
    97         // keytool: help: options
       
    98         {"alias.name.of.the.entry.to.process",
       
    99                 "alias name of the entry to process"}, //-alias
       
   100         {"destination.alias",
       
   101                 "destination alias"}, //-destalias
       
   102         {"destination.key.password",
       
   103                 "destination key password"}, //-destkeypass
       
   104         {"destination.keystore.name",
       
   105                 "destination keystore name"}, //-destkeystore
       
   106         {"destination.keystore.password.protected",
       
   107                 "destination keystore password protected"}, //-destprotected
       
   108         {"destination.keystore.provider.name",
       
   109                 "destination keystore provider name"}, //-destprovidername
       
   110         {"destination.keystore.password",
       
   111                 "destination keystore password"}, //-deststorepass
       
   112         {"destination.keystore.type",
       
   113                 "destination keystore type"}, //-deststoretype
       
   114         {"distinguished.name",
       
   115                 "distinguished name"}, //-dname
       
   116         {"X.509.extension",
       
   117                 "X.509 extension"}, //-ext
       
   118         {"output.file.name",
       
   119                 "output file name"}, //-file and -outfile
       
   120         {"input.file.name",
       
   121                 "input file name"}, //-file and -infile
       
   122         {"key.algorithm.name",
       
   123                 "key algorithm name"}, //-keyalg
       
   124         {"key.password",
       
   125                 "key password"}, //-keypass
       
   126         {"key.bit.size",
       
   127                 "key bit size"}, //-keysize
       
   128         {"keystore.name",
       
   129                 "keystore name"}, //-keystore
       
   130         {"new.password",
       
   131                 "new password"}, //-new
       
   132         {"do.not.prompt",
       
   133                 "do not prompt"}, //-noprompt
       
   134         {"password.through.protected.mechanism",
       
   135                 "password through protected mechanism"}, //-protected
       
   136         {"provider.argument",
       
   137                 "provider argument"}, //-providerarg
       
   138         {"provider.class.name",
       
   139                 "provider class name"}, //-providerclass
       
   140         {"provider.name",
       
   141                 "provider name"}, //-providername
       
   142         {"provider.classpath",
       
   143                 "provider classpath"}, //-providerpath
       
   144         {"output.in.RFC.style",
       
   145                 "output in RFC style"}, //-rfc
       
   146         {"signature.algorithm.name",
       
   147                 "signature algorithm name"}, //-sigalg
       
   148         {"source.alias",
       
   149                 "source alias"}, //-srcalias
       
   150         {"source.key.password",
       
   151                 "source key password"}, //-srckeypass
       
   152         {"source.keystore.name",
       
   153                 "source keystore name"}, //-srckeystore
       
   154         {"source.keystore.password.protected",
       
   155                 "source keystore password protected"}, //-srcprotected
       
   156         {"source.keystore.provider.name",
       
   157                 "source keystore provider name"}, //-srcprovidername
       
   158         {"source.keystore.password",
       
   159                 "source keystore password"}, //-srcstorepass
       
   160         {"source.keystore.type",
       
   161                 "source keystore type"}, //-srcstoretype
       
   162         {"SSL.server.host.and.port",
       
   163                 "SSL server host and port"}, //-sslserver
       
   164         {"signed.jar.file",
       
   165                 "signed jar file"}, //=jarfile
       
   166         {"certificate.validity.start.date.time",
       
   167                 "certificate validity start date/time"}, //-startdate
       
   168         {"keystore.password",
       
   169                 "keystore password"}, //-storepass
       
   170         {"keystore.type",
       
   171                 "keystore type"}, //-storetype
       
   172         {"trust.certificates.from.cacerts",
       
   173                 "trust certificates from cacerts"}, //-trustcacerts
       
   174         {"verbose.output",
       
   175                 "verbose output"}, //-v
       
   176         {"validity.number.of.days",
       
   177                 "validity number of days"}, //-validity
       
   178         {"Serial.ID.of.cert.to.revoke",
       
   179                  "Serial ID of cert to revoke"}, //-id
       
   180         // keytool: Running part
       
   181         {"keytool.error.", "keytool error: "},
       
   182         {"Illegal.option.", "Illegal option:  "},
       
   183         {"Illegal.value.", "Illegal value: "},
       
   184         {"Unknown.password.type.", "Unknown password type: "},
       
   185         {"Cannot.find.environment.variable.",
       
   186                 "Cannot find environment variable: "},
       
   187         {"Cannot.find.file.", "Cannot find file: "},
       
   188         {"Command.option.flag.needs.an.argument.", "Command option {0} needs an argument."},
       
   189         {"Warning.Different.store.and.key.passwords.not.supported.for.PKCS12.KeyStores.Ignoring.user.specified.command.value.",
       
   190                 "Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
       
   191         {".keystore.must.be.NONE.if.storetype.is.{0}",
       
   192                 "-keystore must be NONE if -storetype is {0}"},
       
   193         {"Too.many.retries.program.terminated",
       
   194                  "Too many retries, program terminated"},
       
   195         {".storepasswd.and.keypasswd.commands.not.supported.if.storetype.is.{0}",
       
   196                 "-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
       
   197         {".keypasswd.commands.not.supported.if.storetype.is.PKCS12",
       
   198                 "-keypasswd commands not supported if -storetype is PKCS12"},
       
   199         {".keypass.and.new.can.not.be.specified.if.storetype.is.{0}",
       
   200                 "-keypass and -new can not be specified if -storetype is {0}"},
       
   201         {"if.protected.is.specified.then.storepass.keypass.and.new.must.not.be.specified",
       
   202                 "if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
       
   203         {"if.srcprotected.is.specified.then.srcstorepass.and.srckeypass.must.not.be.specified",
       
   204                 "if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
       
   205         {"if.keystore.is.not.password.protected.then.storepass.keypass.and.new.must.not.be.specified",
       
   206                 "if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
       
   207         {"if.source.keystore.is.not.password.protected.then.srcstorepass.and.srckeypass.must.not.be.specified",
       
   208                 "if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
       
   209         {"Illegal.startdate.value", "Illegal startdate value"},
       
   210         {"Validity.must.be.greater.than.zero",
       
   211                 "Validity must be greater than zero"},
       
   212         {"provName.not.a.provider", "{0} not a provider"},
       
   213         {"Usage.error.no.command.provided", "Usage error: no command provided"},
       
   214         {"Source.keystore.file.exists.but.is.empty.", "Source keystore file exists, but is empty: "},
       
   215         {"Please.specify.srckeystore", "Please specify -srckeystore"},
       
   216         {"Must.not.specify.both.v.and.rfc.with.list.command",
       
   217                 "Must not specify both -v and -rfc with 'list' command"},
       
   218         {"Key.password.must.be.at.least.6.characters",
       
   219                 "Key password must be at least 6 characters"},
       
   220         {"New.password.must.be.at.least.6.characters",
       
   221                 "New password must be at least 6 characters"},
       
   222         {"Keystore.file.exists.but.is.empty.",
       
   223                 "Keystore file exists, but is empty: "},
       
   224         {"Keystore.file.does.not.exist.",
       
   225                 "Keystore file does not exist: "},
       
   226         {"Must.specify.destination.alias", "Must specify destination alias"},
       
   227         {"Must.specify.alias", "Must specify alias"},
       
   228         {"Keystore.password.must.be.at.least.6.characters",
       
   229                 "Keystore password must be at least 6 characters"},
       
   230         {"Enter.keystore.password.", "Enter keystore password:  "},
       
   231         {"Enter.source.keystore.password.", "Enter source keystore password:  "},
       
   232         {"Enter.destination.keystore.password.", "Enter destination keystore password:  "},
       
   233         {"Keystore.password.is.too.short.must.be.at.least.6.characters",
       
   234          "Keystore password is too short - must be at least 6 characters"},
       
   235         {"Unknown.Entry.Type", "Unknown Entry Type"},
       
   236         {"Too.many.failures.Alias.not.changed", "Too many failures. Alias not changed"},
       
   237         {"Entry.for.alias.alias.successfully.imported.",
       
   238                  "Entry for alias {0} successfully imported."},
       
   239         {"Entry.for.alias.alias.not.imported.", "Entry for alias {0} not imported."},
       
   240         {"Problem.importing.entry.for.alias.alias.exception.Entry.for.alias.alias.not.imported.",
       
   241                  "Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
       
   242         {"Import.command.completed.ok.entries.successfully.imported.fail.entries.failed.or.cancelled",
       
   243                  "Import command completed:  {0} entries successfully imported, {1} entries failed or cancelled"},
       
   244         {"Warning.Overwriting.existing.alias.alias.in.destination.keystore",
       
   245                  "Warning: Overwriting existing alias {0} in destination keystore"},
       
   246         {"Existing.entry.alias.alias.exists.overwrite.no.",
       
   247                  "Existing entry alias {0} exists, overwrite? [no]:  "},
       
   248         {"Too.many.failures.try.later", "Too many failures - try later"},
       
   249         {"Certification.request.stored.in.file.filename.",
       
   250                 "Certification request stored in file <{0}>"},
       
   251         {"Submit.this.to.your.CA", "Submit this to your CA"},
       
   252         {"if.alias.not.specified.destalias.srckeypass.and.destkeypass.must.not.be.specified",
       
   253             "if alias not specified, destalias, srckeypass, and destkeypass must not be specified"},
       
   254         {"Certificate.stored.in.file.filename.",
       
   255                 "Certificate stored in file <{0}>"},
       
   256         {"Certificate.reply.was.installed.in.keystore",
       
   257                 "Certificate reply was installed in keystore"},
       
   258         {"Certificate.reply.was.not.installed.in.keystore",
       
   259                 "Certificate reply was not installed in keystore"},
       
   260         {"Certificate.was.added.to.keystore",
       
   261                 "Certificate was added to keystore"},
       
   262         {"Certificate.was.not.added.to.keystore",
       
   263                 "Certificate was not added to keystore"},
       
   264         {".Storing.ksfname.", "[Storing {0}]"},
       
   265         {"alias.has.no.public.key.certificate.",
       
   266                 "{0} has no public key (certificate)"},
       
   267         {"Cannot.derive.signature.algorithm",
       
   268                 "Cannot derive signature algorithm"},
       
   269         {"Alias.alias.does.not.exist",
       
   270                 "Alias <{0}> does not exist"},
       
   271         {"Alias.alias.has.no.certificate",
       
   272                 "Alias <{0}> has no certificate"},
       
   273         {"Key.pair.not.generated.alias.alias.already.exists",
       
   274                 "Key pair not generated, alias <{0}> already exists"},
       
   275         {"Generating.keysize.bit.keyAlgName.key.pair.and.self.signed.certificate.sigAlgName.with.a.validity.of.validality.days.for",
       
   276                 "Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
       
   277         {"Enter.key.password.for.alias.", "Enter key password for <{0}>"},
       
   278         {".RETURN.if.same.as.keystore.password.",
       
   279                 "\t(RETURN if same as keystore password):  "},
       
   280         {"Key.password.is.too.short.must.be.at.least.6.characters",
       
   281                 "Key password is too short - must be at least 6 characters"},
       
   282         {"Too.many.failures.key.not.added.to.keystore",
       
   283                 "Too many failures - key not added to keystore"},
       
   284         {"Destination.alias.dest.already.exists",
       
   285                 "Destination alias <{0}> already exists"},
       
   286         {"Password.is.too.short.must.be.at.least.6.characters",
       
   287                 "Password is too short - must be at least 6 characters"},
       
   288         {"Too.many.failures.Key.entry.not.cloned",
       
   289                 "Too many failures. Key entry not cloned"},
       
   290         {"key.password.for.alias.", "key password for <{0}>"},
       
   291         {"Keystore.entry.for.id.getName.already.exists",
       
   292                 "Keystore entry for <{0}> already exists"},
       
   293         {"Creating.keystore.entry.for.id.getName.",
       
   294                 "Creating keystore entry for <{0}> ..."},
       
   295         {"No.entries.from.identity.database.added",
       
   296                 "No entries from identity database added"},
       
   297         {"Alias.name.alias", "Alias name: {0}"},
       
   298         {"Creation.date.keyStore.getCreationDate.alias.",
       
   299                 "Creation date: {0,date}"},
       
   300         {"alias.keyStore.getCreationDate.alias.",
       
   301                 "{0}, {1,date}, "},
       
   302         {"alias.", "{0}, "},
       
   303         {"Entry.type.type.", "Entry type: {0}"},
       
   304         {"Certificate.chain.length.", "Certificate chain length: "},
       
   305         {"Certificate.i.1.", "Certificate[{0,number,integer}]:"},
       
   306         {"Certificate.fingerprint.SHA1.", "Certificate fingerprint (SHA1): "},
       
   307         {"Keystore.type.", "Keystore type: "},
       
   308         {"Keystore.provider.", "Keystore provider: "},
       
   309         {"Your.keystore.contains.keyStore.size.entry",
       
   310                 "Your keystore contains {0,number,integer} entry"},
       
   311         {"Your.keystore.contains.keyStore.size.entries",
       
   312                 "Your keystore contains {0,number,integer} entries"},
       
   313         {"Failed.to.parse.input", "Failed to parse input"},
       
   314         {"Empty.input", "Empty input"},
       
   315         {"Not.X.509.certificate", "Not X.509 certificate"},
       
   316         {"alias.has.no.public.key", "{0} has no public key"},
       
   317         {"alias.has.no.X.509.certificate", "{0} has no X.509 certificate"},
       
   318         {"New.certificate.self.signed.", "New certificate (self-signed):"},
       
   319         {"Reply.has.no.certificates", "Reply has no certificates"},
       
   320         {"Certificate.not.imported.alias.alias.already.exists",
       
   321                 "Certificate not imported, alias <{0}> already exists"},
       
   322         {"Input.not.an.X.509.certificate", "Input not an X.509 certificate"},
       
   323         {"Certificate.already.exists.in.keystore.under.alias.trustalias.",
       
   324                 "Certificate already exists in keystore under alias <{0}>"},
       
   325         {"Do.you.still.want.to.add.it.no.",
       
   326                 "Do you still want to add it? [no]:  "},
       
   327         {"Certificate.already.exists.in.system.wide.CA.keystore.under.alias.trustalias.",
       
   328                 "Certificate already exists in system-wide CA keystore under alias <{0}>"},
       
   329         {"Do.you.still.want.to.add.it.to.your.own.keystore.no.",
       
   330                 "Do you still want to add it to your own keystore? [no]:  "},
       
   331         {"Trust.this.certificate.no.", "Trust this certificate? [no]:  "},
       
   332         {"YES", "YES"},
       
   333         {"New.prompt.", "New {0}: "},
       
   334         {"Passwords.must.differ", "Passwords must differ"},
       
   335         {"Re.enter.new.prompt.", "Re-enter new {0}: "},
       
   336         {"Re.enter.new.password.", "Re-enter new password: "},
       
   337         {"They.don.t.match.Try.again", "They don't match. Try again"},
       
   338         {"Enter.prompt.alias.name.", "Enter {0} alias name:  "},
       
   339         {"Enter.new.alias.name.RETURN.to.cancel.import.for.this.entry.",
       
   340                  "Enter new alias name\t(RETURN to cancel import for this entry):  "},
       
   341         {"Enter.alias.name.", "Enter alias name:  "},
       
   342         {".RETURN.if.same.as.for.otherAlias.",
       
   343                 "\t(RETURN if same as for <{0}>)"},
       
   344         {".PATTERN.printX509Cert",
       
   345                 "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t MD5:  {5}\n\t SHA1: {6}\n\t SHA256: {7}\n\t Signature algorithm name: {8}\n\t Version: {9}"},
       
   346         {"What.is.your.first.and.last.name.",
       
   347                 "What is your first and last name?"},
       
   348         {"What.is.the.name.of.your.organizational.unit.",
       
   349                 "What is the name of your organizational unit?"},
       
   350         {"What.is.the.name.of.your.organization.",
       
   351                 "What is the name of your organization?"},
       
   352         {"What.is.the.name.of.your.City.or.Locality.",
       
   353                 "What is the name of your City or Locality?"},
       
   354         {"What.is.the.name.of.your.State.or.Province.",
       
   355                 "What is the name of your State or Province?"},
       
   356         {"What.is.the.two.letter.country.code.for.this.unit.",
       
   357                 "What is the two-letter country code for this unit?"},
       
   358         {"Is.name.correct.", "Is {0} correct?"},
       
   359         {"no", "no"},
       
   360         {"yes", "yes"},
       
   361         {"y", "y"},
       
   362         {".defaultValue.", "  [{0}]:  "},
       
   363         {"Alias.alias.has.no.key",
       
   364                 "Alias <{0}> has no key"},
       
   365         {"Alias.alias.references.an.entry.type.that.is.not.a.private.key.entry.The.keyclone.command.only.supports.cloning.of.private.key",
       
   366                  "Alias <{0}> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries"},
       
   367 
       
   368         {".WARNING.WARNING.WARNING.",
       
   369             "*****************  WARNING WARNING WARNING  *****************"},
       
   370         {"Signer.d.", "Signer #%d:"},
       
   371         {"Timestamp.", "Timestamp:"},
       
   372         {"Signature.", "Signature:"},
       
   373         {"CRLs.", "CRLs:"},
       
   374         {"Certificate.owner.", "Certificate owner: "},
       
   375         {"Not.a.signed.jar.file", "Not a signed jar file"},
       
   376         {"No.certificate.from.the.SSL.server",
       
   377                 "No certificate from the SSL server"},
       
   378 
       
   379         {".The.integrity.of.the.information.stored.in.your.keystore.",
       
   380             "* The integrity of the information stored in your keystore  *\n" +
       
   381             "* has NOT been verified!  In order to verify its integrity, *\n" +
       
   382             "* you must provide your keystore password.                  *"},
       
   383         {".The.integrity.of.the.information.stored.in.the.srckeystore.",
       
   384             "* The integrity of the information stored in the srckeystore*\n" +
       
   385             "* has NOT been verified!  In order to verify its integrity, *\n" +
       
   386             "* you must provide the srckeystore password.                *"},
       
   387 
       
   388         {"Certificate.reply.does.not.contain.public.key.for.alias.",
       
   389                 "Certificate reply does not contain public key for <{0}>"},
       
   390         {"Incomplete.certificate.chain.in.reply",
       
   391                 "Incomplete certificate chain in reply"},
       
   392         {"Certificate.chain.in.reply.does.not.verify.",
       
   393                 "Certificate chain in reply does not verify: "},
       
   394         {"Top.level.certificate.in.reply.",
       
   395                 "Top-level certificate in reply:\n"},
       
   396         {".is.not.trusted.", "... is not trusted. "},
       
   397         {"Install.reply.anyway.no.", "Install reply anyway? [no]:  "},
       
   398         {"NO", "NO"},
       
   399         {"Public.keys.in.reply.and.keystore.don.t.match",
       
   400                 "Public keys in reply and keystore don't match"},
       
   401         {"Certificate.reply.and.certificate.in.keystore.are.identical",
       
   402                 "Certificate reply and certificate in keystore are identical"},
       
   403         {"Failed.to.establish.chain.from.reply",
       
   404                 "Failed to establish chain from reply"},
       
   405         {"n", "n"},
       
   406         {"Wrong.answer.try.again", "Wrong answer, try again"},
       
   407         {"Secret.key.not.generated.alias.alias.already.exists",
       
   408                 "Secret Key not generated, alias <{0}> already exists"},
       
   409         {"Please.provide.keysize.for.secret.key.generation",
       
   410                 "Please provide -keysize for secret key generation"},
       
   411 
       
   412         {"verified.by.s.in.s", "Verified by %s in %s"},
       
   413         {"warning.not.verified.make.sure.keystore.is.correct",
       
   414             "WARNING: not verified. Make sure -keystore is correct."},
       
   415 
       
   416         {"Extensions.", "Extensions: "},
       
   417         {".Empty.value.", "(Empty value)"},
       
   418         {"Extension.Request.", "Extension Request:"},
       
   419         {"PKCS.10.Certificate.Request.Version.1.0.Subject.s.Public.Key.s.format.s.key.",
       
   420                 "PKCS #10 Certificate Request (Version 1.0)\n" +
       
   421                 "Subject: %s\nPublic Key: %s format %s key\n"},
       
   422         {"Unknown.keyUsage.type.", "Unknown keyUsage type: "},
       
   423         {"Unknown.extendedkeyUsage.type.", "Unknown extendedkeyUsage type: "},
       
   424         {"Unknown.AccessDescription.type.", "Unknown AccessDescription type: "},
       
   425         {"Unrecognized.GeneralName.type.", "Unrecognized GeneralName type: "},
       
   426         {"This.extension.cannot.be.marked.as.critical.",
       
   427                  "This extension cannot be marked as critical. "},
       
   428         {"Odd.number.of.hex.digits.found.", "Odd number of hex digits found: "},
       
   429         {"Unknown.extension.type.", "Unknown extension type: "},
       
   430         {"command.{0}.is.ambiguous.", "command {0} is ambiguous:"},
       
   431 
       
   432         // policytool
       
   433         {"Warning.A.public.key.for.alias.signers.i.does.not.exist.Make.sure.a.KeyStore.is.properly.configured.",
       
   434                 "Warning: A public key for alias {0} does not exist.  Make sure a KeyStore is properly configured."},
       
   435         {"Warning.Class.not.found.class", "Warning: Class not found: {0}"},
       
   436         {"Warning.Invalid.argument.s.for.constructor.arg",
       
   437                 "Warning: Invalid argument(s) for constructor: {0}"},
       
   438         {"Illegal.Principal.Type.type", "Illegal Principal Type: {0}"},
       
   439         {"Illegal.option.option", "Illegal option: {0}"},
       
   440         {"Usage.policytool.options.", "Usage: policytool [options]"},
       
   441         {".file.file.policy.file.location",
       
   442                 "  [-file <file>]    policy file location"},
       
   443         {"New", "New"},
       
   444         {"Open", "Open"},
       
   445         {"Save", "Save"},
       
   446         {"Save.As", "Save As"},
       
   447         {"View.Warning.Log", "View Warning Log"},
       
   448         {"Exit", "Exit"},
       
   449         {"Add.Policy.Entry", "Add Policy Entry"},
       
   450         {"Edit.Policy.Entry", "Edit Policy Entry"},
       
   451         {"Remove.Policy.Entry", "Remove Policy Entry"},
       
   452         {"Edit", "Edit"},
       
   453         {"Retain", "Retain"},
       
   454 
       
   455         {"Warning.File.name.may.include.escaped.backslash.characters.It.is.not.necessary.to.escape.backslash.characters.the.tool.escapes",
       
   456             "Warning: File name may include escaped backslash characters. " +
       
   457                         "It is not necessary to escape backslash characters " +
       
   458                         "(the tool escapes characters as necessary when writing " +
       
   459                         "the policy contents to the persistent store).\n\n" +
       
   460                         "Click on Retain to retain the entered name, or click on " +
       
   461                         "Edit to edit the name."},
       
   462 
       
   463         {"Add.Public.Key.Alias", "Add Public Key Alias"},
       
   464         {"Remove.Public.Key.Alias", "Remove Public Key Alias"},
       
   465         {"File", "File"},
       
   466         {"KeyStore", "KeyStore"},
       
   467         {"Policy.File.", "Policy File:"},
       
   468         {"Could.not.open.policy.file.policyFile.e.toString.",
       
   469                 "Could not open policy file: {0}: {1}"},
       
   470         {"Policy.Tool", "Policy Tool"},
       
   471         {"Errors.have.occurred.while.opening.the.policy.configuration.View.the.Warning.Log.for.more.information.",
       
   472                 "Errors have occurred while opening the policy configuration.  View the Warning Log for more information."},
       
   473         {"Error", "Error"},
       
   474         {"OK", "OK"},
       
   475         {"Status", "Status"},
       
   476         {"Warning", "Warning"},
       
   477         {"Permission.",
       
   478                 "Permission:                                                       "},
       
   479         {"Principal.Type.", "Principal Type:"},
       
   480         {"Principal.Name.", "Principal Name:"},
       
   481         {"Target.Name.",
       
   482                 "Target Name:                                                    "},
       
   483         {"Actions.",
       
   484                 "Actions:                                                             "},
       
   485         {"OK.to.overwrite.existing.file.filename.",
       
   486                 "OK to overwrite existing file {0}?"},
       
   487         {"Cancel", "Cancel"},
       
   488         {"CodeBase.", "CodeBase:"},
       
   489         {"SignedBy.", "SignedBy:"},
       
   490         {"Add.Principal", "Add Principal"},
       
   491         {"Edit.Principal", "Edit Principal"},
       
   492         {"Remove.Principal", "Remove Principal"},
       
   493         {"Principals.", "Principals:"},
       
   494         {".Add.Permission", "  Add Permission"},
       
   495         {".Edit.Permission", "  Edit Permission"},
       
   496         {"Remove.Permission", "Remove Permission"},
       
   497         {"Done", "Done"},
       
   498         {"KeyStore.URL.", "KeyStore URL:"},
       
   499         {"KeyStore.Type.", "KeyStore Type:"},
       
   500         {"KeyStore.Provider.", "KeyStore Provider:"},
       
   501         {"KeyStore.Password.URL.", "KeyStore Password URL:"},
       
   502         {"Principals", "Principals"},
       
   503         {".Edit.Principal.", "  Edit Principal:"},
       
   504         {".Add.New.Principal.", "  Add New Principal:"},
       
   505         {"Permissions", "Permissions"},
       
   506         {".Edit.Permission.", "  Edit Permission:"},
       
   507         {".Add.New.Permission.", "  Add New Permission:"},
       
   508         {"Signed.By.", "Signed By:"},
       
   509         {"Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name",
       
   510             "Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},
       
   511         {"Cannot.Specify.Principal.without.a.Name",
       
   512             "Cannot Specify Principal without a Name"},
       
   513         {"Permission.and.Target.Name.must.have.a.value",
       
   514                 "Permission and Target Name must have a value"},
       
   515         {"Remove.this.Policy.Entry.", "Remove this Policy Entry?"},
       
   516         {"Overwrite.File", "Overwrite File"},
       
   517         {"Policy.successfully.written.to.filename",
       
   518                 "Policy successfully written to {0}"},
       
   519         {"null.filename", "null filename"},
       
   520         {"Save.changes.", "Save changes?"},
       
   521         {"Yes", "Yes"},
       
   522         {"No", "No"},
       
   523         {"Policy.Entry", "Policy Entry"},
       
   524         {"Save.Changes", "Save Changes"},
       
   525         {"No.Policy.Entry.selected", "No Policy Entry selected"},
       
   526         {"Unable.to.open.KeyStore.ex.toString.",
       
   527                 "Unable to open KeyStore: {0}"},
       
   528         {"No.principal.selected", "No principal selected"},
       
   529         {"No.permission.selected", "No permission selected"},
       
   530         {"name", "name"},
       
   531         {"configuration.type", "configuration type"},
       
   532         {"environment.variable.name", "environment variable name"},
       
   533         {"library.name", "library name"},
       
   534         {"package.name", "package name"},
       
   535         {"policy.type", "policy type"},
       
   536         {"property.name", "property name"},
       
   537         {"Principal.List", "Principal List"},
       
   538         {"Permission.List", "Permission List"},
       
   539         {"Code.Base", "Code Base"},
       
   540         {"KeyStore.U.R.L.", "KeyStore U R L:"},
       
   541         {"KeyStore.Password.U.R.L.", "KeyStore Password U R L:"},
       
   542 
       
   543 
       
   544         // javax.security.auth.PrivateCredentialPermission
    37         // javax.security.auth.PrivateCredentialPermission
   545         {"invalid.null.input.s.", "invalid null input(s)"},
    38         {"invalid.null.input.s.", "invalid null input(s)"},
   546         {"actions.can.only.be.read.", "actions can only be 'read'"},
    39         {"actions.can.only.be.read.", "actions can only be 'read'"},
   547         {"permission.name.name.syntax.invalid.",
    40         {"permission.name.name.syntax.invalid.",
   548                 "permission name [{0}] syntax invalid: "},
    41                 "permission name [{0}] syntax invalid: "},
   563         {"provided.null.name", "provided null name"},
    56         {"provided.null.name", "provided null name"},
   564         {"provided.null.keyword.map", "provided null keyword map"},
    57         {"provided.null.keyword.map", "provided null keyword map"},
   565         {"provided.null.OID.map", "provided null OID map"},
    58         {"provided.null.OID.map", "provided null OID map"},
   566 
    59 
   567         // javax.security.auth.Subject
    60         // javax.security.auth.Subject
       
    61         {"NEWLINE", "\n"},
   568         {"invalid.null.AccessControlContext.provided",
    62         {"invalid.null.AccessControlContext.provided",
   569                 "invalid null AccessControlContext provided"},
    63                 "invalid null AccessControlContext provided"},
   570         {"invalid.null.action.provided", "invalid null action provided"},
    64         {"invalid.null.action.provided", "invalid null action provided"},
   571         {"invalid.null.Class.provided", "invalid null Class provided"},
    65         {"invalid.null.Class.provided", "invalid null Class provided"},
   572         {"Subject.", "Subject:\n"},
    66         {"Subject.", "Subject:\n"},
   666      *
   160      *
   667      * <p>
   161      * <p>
   668      *
   162      *
   669      * @return the contents of this <code>ResourceBundle</code>.
   163      * @return the contents of this <code>ResourceBundle</code>.
   670      */
   164      */
       
   165     @Override
   671     public Object[][] getContents() {
   166     public Object[][] getContents() {
   672         return contents;
   167         return contents;
   673     }
   168     }
   674 }
   169 }
   675 
   170