Android的:什么是一个密钥存储文件,并且它是干什么用的呢? [英] Android: What is a keystore file, and what is it used for?

查看:153
本文介绍了Android的:什么是一个密钥存储文件,并且它是干什么用的呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个普遍的问题,但特别是我很感兴趣的应用为Android。什么是一个密钥存储文件,并且它是干什么用的呢?

This is a general question, but particularly I am interested in it's use for Android. What is a keystore file, and what is it used for?

能否多个Android应用程序使用相同的密钥库签上自己的应用程序(究竟是什么意思符号的.apk文件),以及哪些影响(如果有的话)吗?

Can multiple Android applications use the same keystore to sign their application (what exactly does it mean to "sign" an .apk?), and what are the implications (if any) of this?

推荐答案

我会提供的答案是,一个密钥存储文件是对自己身份的人谁是问。它不再仅仅限于签署的apk文件,你可以用它来存储个人证书,签署要发送的数据,各种各样的认证。

The answer I would provide is that a keystore file is to authenticate yourself to anyone who is asking. It isn't restricted to just signing .apk files, you can use it to store personal certificates, sign data to be transmitted and a whole variety of authentication.

在你做什么与它的Andr​​oid和你正在寻找可能的东西,因为你提到签署的apk,这是您的证书的条件。你是品牌您的应用程序凭据。您还可以对多个应用程序使用相同的密钥,实际上,我们建议您使用一个证书,以品牌,你写多个应用程序。它更容易跟踪哪些应用程序属于你。

In terms of what you do with it for Android and probably what you're looking for since you mention signing apk's, it is your certificate. You are branding your application with your credentials. You can brand multiple applications with the same key, in fact, it is recommended that you use one certificate to brand multiple applications that you write. It easier to keep track of what applications belong to you.

我不知道你所说的含义的意思。我想这意味着,任何人,但你的证书的持有人可以更新您的应用程序。这意味着,如果你释放到野外,失去你用来签名的应用程序,那么你就无法发布更新,以便保持这一证书的安全和备份,如果需要的是证书。

I'm not sure what you mean by implications. I suppose it means that no one but the holder of your certificate can update your application. That means that if you release it into the wild, lose the cert you used to sign the application, then you cannot release updates so keep that cert safe and backed up if need be.

但是,除了签署的apk释放到野外,你可以用它来通过SSL设备认证到服务器,如果你愿意的话,(也是Android的相关)以及其他功能。

But apart from signing apks to release into the wild, you can use it to authenticate your device to a server over SSL if you so desire, (also Android related) among other functions.

这篇关于Android的:什么是一个密钥存储文件,并且它是干什么用的呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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