从 APK 文件中获取签名信息
方法一
$ keytool -list -printcert -jarfile <path of APK>
方法二
解压 APK 文件,释放出 META-INF/CERT.RSA
$ keytool -printcert -file <path of CERT.RSA>
从签名文件中获取签名信息
$ keytool -list -v -keystore <path of keystore>
$ keytool -list -printcert -jarfile <path of APK>
解压 APK 文件,释放出 META-INF/CERT.RSA
$ keytool -printcert -file <path of CERT.RSA>
$ keytool -list -v -keystore <path of keystore>