Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Keystore生成
- MD5withRSA
- $ keytool -genkey -v -sigalg MD5withRSA -keyalg RSA -keystore test.keystore -alias testkey -validity 10000
- SHA1withRSA
- $ keytool -genkey -v -sigalg SHA1withRSA -keyalg RSA -keystore test.keystore -alias testkey -validity 10000
- jarsignerで署名
- MD5withRSA
- $ jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore test.keystore -verbose hoge.apk testkey
- タイムスタンプがなんたらと警告
- jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore test.keystore -tsa http://timestamp.globalsign.com/scripts/timstamp.dll -verbose hoge.apk testkey
- 警告なし
- SHA1withRSA
- $ jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore test.keystore -verbose hoge.apk testkey
- タイムスタンプがなんたらと警告
- jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore test.keystore -tsa http://timestamp.globalsign.com/scripts/timstamp.dll -verbose hoge.apk testkey
- 警告なくなる
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement