Alex Rivera | Logout

What is the difference between the Java 1.6 and 1.7 jarsigner

Asked 2012-01-05T08:27:37.377
16

Just noted that you can“t sign Android APKs with the Java 1.7 jarsigner. So I wonder why this is and what is the difference between the 1.6 and 1.7 signer?

Edit
Report

1 Answer

11

This is because the default digest algorithm for Java 1.7 is SHA-256 while for Java 1.6 it's SHA1withDSA.

Java 1.6 Jarsigner docs

Java 1.7 Jarsigner docs

answered 2012-01-05T08:37:07.957

Your Answer