4.1 API 上的 AndroidKeystore

标签 android security android-keystore android-developer-api

我在当前项目中使用 AndroidKeystore 作为提供程序来安全地存储私钥。 现在我想让我的应用程序适用于低至 4.1(API 版本 16)的旧版 Android。 因此,我需要为 AndroidKeystore 找到一个替代方案,但几乎找不到任何可用的解决方案。 是否有关于如何在这些旧版本上实现/模拟/替换 AndroidKeystore 功能的建议?

此外,KeyPairGeneratorSpec 从 v18 开始可用。旧版本的正确替代品是什么?

最佳答案

我终于找到了可行的解决方案。 对于 Android 4.x,有可以保存各种 secret 的凭证存储服务。 到目前为止我找到的最好的描述在这里

http://nelenkov.blogspot.de/2012/05/storing-application-secrets-in-androids.html

关于4.1 API 上的 AndroidKeystore,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27786012/

相关文章:

android - 为 kivy 应用程序生成发布 keystore 时出错

android - 在Android中获取SDCard中所有图片的Uri

Android 开启勿扰模式时不播放音效

android - 项目刷新失败,JetGradlePlugin$_apply_closure2$_closure4

php - 对财务数据进行适当的加密

security - 心跳扩展 : does it make sense to allow for arbitrary payload?

security - 休息与安全

android - 丢失 Android keystore ,但我需要使用相同的名称和包

android - AndroidKeyStore 中用于检索根证明证书的别名是什么?

android - 如何查看TextView中的所有文本