< prev index next >

src/share/classes/sun/security/tools/jarsigner/Resources.java

Print this page
@  rev 14334 : 8185934: keytool shows "Signature algorithm: SHA1withECDSA, -1-bit key"
|  Reviewed-by: mullan
~
o  rev 14333 : 8172404: Tools should warn if weak algorithms are used before restricting them
:  Reviewed-by: mullan, weijun
:  Contributed-by: Hai-May Chao <hai-may.chao@oracle.com>
o  rev 14329 : 8185934: keytool shows "Signature algorithm: SHA1withECDSA, -1-bit key"
|  Reviewed-by: mullan
~


 140         {"jar.treated.unsigned",
 141                 "WARNING: Signature is either not parsable or not verifiable, and the jar will be treated as unsigned. For more information, re-run jarsigner with debug enabled (-J-Djava.security.debug=jar)."},
 142         {"jar.treated.unsigned.see.weak",
 143                 "The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled.\n\nRe-run jarsigner with the -verbose option for more details."},
 144         {"jar.treated.unsigned.see.weak.verbose",
 145                 "WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:"},
 146         {"jar.signed.", "jar signed."},
 147         {"jar.signed.with.signer.errors.", "jar signed, with signer errors."},
 148         {"jar.verified.", "jar verified."},
 149         {"jar.verified.with.signer.errors.", "jar verified, with signer errors."},
 150 
 151         {"history.with.ts", "- Signed by \"%1$s\"\n    Digest algorithm: %2$s\n    Signature algorithm: %3$s, %4$s\n  Timestamped by \"%6$s\" on %5$tc\n    Timestamp digest algorithm: %7$s\n    Timestamp signature algorithm: %8$s, %9$s"},
 152         {"history.without.ts", "- Signed by \"%1$s\"\n    Digest algorithm: %2$s\n    Signature algorithm: %3$s, %4$s"},
 153         {"history.unparsable", "- Unparsable signature-related file %s"},
 154         {"history.nosf", "- Missing signature-related file META-INF/%s.SF"},
 155         {"history.nobk", "- Missing block file for signature-related file META-INF/%s.SF"},
 156 
 157         {"with.weak", "%s (weak)"},
 158         {"key.bit", "%d-bit key"},
 159         {"key.bit.weak", "%d-bit key (weak)"},

 160 
 161         {"jarsigner.", "jarsigner: "},
 162         {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.",
 163                 "signature filename must consist of the following characters: A-Z, 0-9, _ or -"},
 164         {"unable.to.open.jar.file.", "unable to open jar file: "},
 165         {"unable.to.create.", "unable to create: "},
 166         {".adding.", "   adding: "},
 167         {".updating.", " updating: "},
 168         {".signing.", "  signing: "},
 169         {"attempt.to.rename.signedJarFile.to.jarFile.failed",
 170                 "attempt to rename {0} to {1} failed"},
 171         {"attempt.to.rename.jarFile.to.origJar.failed",
 172                 "attempt to rename {0} to {1} failed"},
 173         {"unable.to.sign.jar.", "unable to sign jar: "},
 174         {"Enter.Passphrase.for.keystore.", "Enter Passphrase for keystore: "},
 175         {"keystore.load.", "keystore load: "},
 176         {"certificate.exception.", "certificate exception: "},
 177         {"unable.to.instantiate.keystore.class.",
 178                 "unable to instantiate keystore class: "},
 179         {"Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and",




 140         {"jar.treated.unsigned",
 141                 "WARNING: Signature is either not parsable or not verifiable, and the jar will be treated as unsigned. For more information, re-run jarsigner with debug enabled (-J-Djava.security.debug=jar)."},
 142         {"jar.treated.unsigned.see.weak",
 143                 "The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled.\n\nRe-run jarsigner with the -verbose option for more details."},
 144         {"jar.treated.unsigned.see.weak.verbose",
 145                 "WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:"},
 146         {"jar.signed.", "jar signed."},
 147         {"jar.signed.with.signer.errors.", "jar signed, with signer errors."},
 148         {"jar.verified.", "jar verified."},
 149         {"jar.verified.with.signer.errors.", "jar verified, with signer errors."},
 150 
 151         {"history.with.ts", "- Signed by \"%1$s\"\n    Digest algorithm: %2$s\n    Signature algorithm: %3$s, %4$s\n  Timestamped by \"%6$s\" on %5$tc\n    Timestamp digest algorithm: %7$s\n    Timestamp signature algorithm: %8$s, %9$s"},
 152         {"history.without.ts", "- Signed by \"%1$s\"\n    Digest algorithm: %2$s\n    Signature algorithm: %3$s, %4$s"},
 153         {"history.unparsable", "- Unparsable signature-related file %s"},
 154         {"history.nosf", "- Missing signature-related file META-INF/%s.SF"},
 155         {"history.nobk", "- Missing block file for signature-related file META-INF/%s.SF"},
 156 
 157         {"with.weak", "%s (weak)"},
 158         {"key.bit", "%d-bit key"},
 159         {"key.bit.weak", "%d-bit key (weak)"},
 160         {"unknown.size", "unknown size"},
 161 
 162         {"jarsigner.", "jarsigner: "},
 163         {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.",
 164                 "signature filename must consist of the following characters: A-Z, 0-9, _ or -"},
 165         {"unable.to.open.jar.file.", "unable to open jar file: "},
 166         {"unable.to.create.", "unable to create: "},
 167         {".adding.", "   adding: "},
 168         {".updating.", " updating: "},
 169         {".signing.", "  signing: "},
 170         {"attempt.to.rename.signedJarFile.to.jarFile.failed",
 171                 "attempt to rename {0} to {1} failed"},
 172         {"attempt.to.rename.jarFile.to.origJar.failed",
 173                 "attempt to rename {0} to {1} failed"},
 174         {"unable.to.sign.jar.", "unable to sign jar: "},
 175         {"Enter.Passphrase.for.keystore.", "Enter Passphrase for keystore: "},
 176         {"keystore.load.", "keystore load: "},
 177         {"certificate.exception.", "certificate exception: "},
 178         {"unable.to.instantiate.keystore.class.",
 179                 "unable to instantiate keystore class: "},
 180         {"Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and",


< prev index next >