Skip to content

Instantly share code, notes, and snippets.

@yuanliwei
Created December 30, 2015 08:39
Show Gist options
  • Save yuanliwei/a2d89a5da93a31a7369e to your computer and use it in GitHub Desktop.
Save yuanliwei/a2d89a5da93a31a7369e to your computer and use it in GitHub Desktop.
Apk 签名&验证

Apk 签名&验证

签名

jarsigner -digestalg SHA1 -sigalg MD5withRSA -tsa https://timestamp.geotrust.com/tsa -verbose -keystore "xxx.keystore" -storepass "storepass" -signedjar "signedjar" "unsignedjar" "keyAlias"

验证Apk签名

jarsigner -verify -verbose:all -certs Baidu_Claim_signed.apk

查看APK签名

keytool -printcert -file XXX.RSA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment