mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8191438: jarsigner should print when a timestamp will expire
Reviewed-by: mullan
This commit is contained in:
parent
ff6a245d89
commit
06a9e1a72f
18 changed files with 838 additions and 720 deletions
|
@ -229,6 +229,7 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
{"Error.", "Error: "},
|
||||
{"...Signer", ">>> Signer"},
|
||||
{"...TSA", ">>> TSA"},
|
||||
{"trusted.certificate", "trusted certificate"},
|
||||
{"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.",
|
||||
"This jar contains unsigned entries which have not been integrity-checked. "},
|
||||
{"This.jar.contains.entries.whose.signer.certificate.has.expired.",
|
||||
|
@ -245,8 +246,16 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
"Re-run with the -verbose and -certs options for more details."},
|
||||
{"The.signer.certificate.has.expired.",
|
||||
"The signer certificate has expired."},
|
||||
{"The.timestamp.expired.1.but.usable.2",
|
||||
"The timestamp expired on %1$tY-%1$tm-%1$td. However, the JAR will be valid until the signer certificate expires on %2$tY-%2$tm-%2$td."},
|
||||
{"The.timestamp.has.expired.",
|
||||
"The timestamp has expired."},
|
||||
{"The.signer.certificate.will.expire.within.six.months.",
|
||||
"The signer certificate will expire within six months."},
|
||||
{"The.timestamp.will.expire.within.one.year.on.1",
|
||||
"The timestamp will expire within one year on %1$tY-%1$tm-%1$td."},
|
||||
{"The.timestamp.will.expire.within.one.year.on.1.but.2",
|
||||
"The timestamp will expire within one year on %1$tY-%1$tm-%1$td. However, the JAR will be valid until the signer certificate expires on %2$tY-%2$tm-%2$td."},
|
||||
{"The.signer.certificate.is.not.yet.valid.",
|
||||
"The signer certificate is not yet valid."},
|
||||
{"The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.",
|
||||
|
@ -279,10 +288,18 @@ public class Resources extends java.util.ListResourceBundle {
|
|||
"This jar contains entries whose TSA certificate chain is invalid. Reason: %s"},
|
||||
{"no.timestamp.signing",
|
||||
"No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td)."},
|
||||
{"invalid.timestamp.signing",
|
||||
"The timestamp is invalid. Without a valid timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td)."},
|
||||
{"no.timestamp.verifying",
|
||||
"This jar contains signatures that do not include a timestamp. Without a timestamp, users may not be able to validate this jar after any of the signer certificates expire (as early as %1$tY-%1$tm-%1$td)."},
|
||||
{"bad.timestamp.verifying",
|
||||
"This jar contains signatures that include an invalid timestamp. Without a valid timestamp, users may not be able to validate this jar after any of the signer certificates expire (as early as %1$tY-%1$tm-%1$td).\nRerun jarsigner with -J-Djava.security.debug=jar for more information."},
|
||||
{"The.signer.certificate.will.expire.on.1.",
|
||||
"The signer certificate will expire on %1$tY-%1$tm-%1$td."},
|
||||
{"The.timestamp.will.expire.on.1.",
|
||||
"The timestamp will expire on %1$tY-%1$tm-%1$td."},
|
||||
{"signer.cert.expired.1.but.timestamp.good.2.",
|
||||
"The signer certificate expired on %1$tY-%1$tm-%1$td. However, the JAR will be valid until the timestamp expires on %2$tY-%2$tm-%2$td."},
|
||||
{"Unknown.password.type.", "Unknown password type: "},
|
||||
{"Cannot.find.environment.variable.",
|
||||
"Cannot find environment variable: "},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue