Java 1.6和1.7 jarsigner有什么区别 [英] What is the difference between the Java 1.6 and 1.7 jarsigner
本文介绍了Java 1.6和1.7 jarsigner有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请注意,您不能使用Java 1.7 jarsigner对Android APK进行签名.所以我想知道为什么会这样,而1.6和1.7签名者之间有什么区别?
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?
推荐答案
这是因为Java 1.7的默认摘要算法为 SHA-256 ,而Java 1.6的默认摘要算法为 SHA1withDSA >.
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和1.7 jarsigner有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文