What is the difference between the Java 1.6 and 1.7 jarsigner

前端 未结 2 1537
不思量自难忘°
不思量自难忘° 2021-02-05 12:12

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?

2条回答
  •  执念已碎
    2021-02-05 12:29

    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

提交回复
热议问题