使用现有.RSA的Keystore android [英] Keystore android using existing .RSA

查看:103
本文介绍了使用现有.RSA的Keystore android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我现在正在研究android项目,并面临着使用现有.RSA文件签署.apk的问题。



嗯,这是我的.apk处于最后阶段时需要包含的文件(签名并准备发布)

- test.MF

- test.RSA

- test.SF



据我所知,我做了这些步骤:

- 创建我的密钥库

keytool.exe -genkey -alias test.keystore -keyalg RSA -dnamecn = test,ou = test,o =测试,L = PARIS,ST = PARIS,c = FR-validity 21900 -keystore test.keystore



- 签署我的.apk

%JAVA_HOME%\bin\jarsigner.exe -keystore test.keystore -internalsf keys\test.SF -storepass 123456 my_apk.apk





但是如何包括我的test.RSA,test.MF和test.SF?



非常感谢

Hi everyone,

I''m working on android project right now, and facing a problem about signing .apk with existing .RSA file.

Well, here''s the file that I need to include when my .apk is in final stage(signed and ready to release)
- test.MF
- test.RSA
- test.SF

As far as I tried, I did these step :
- Creating my keystore
keytool.exe -genkey -alias test.keystore -keyalg RSA -dname "cn=test,ou=test, o=test, L=PARIS, ST=PARIS, c=FR" -validity 21900 -keystore test.keystore

- Signing my .apk
%JAVA_HOME%\bin\jarsigner.exe -keystore test.keystore -internalsf keys\test.SF -storepass 123456 my_apk.apk


But how do I include my test.RSA, test.MF, and test.SF ?

many thanks

推荐答案

就我个人而言,我只是从E中做到这一切clipse,如果你看一下应用程序签名 [ ^ ]涵盖了所有选项。



/ Darren
Personally I just do it all from Eclipse, if you take a look at App Signing[^] all options are covered.

/Darren


这篇关于使用现有.RSA的Keystore android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆