如何为Android中的钥匙扣实施某种加密材料提供商?

发布于 2025-01-24 09:33:44 字数 290 浏览 1 评论 0原文

在西班牙,每个公民都有一张国家身份证(DNI),该卡是启用NFC的SmartCard,其中包含两个客户端证书和一个公共/私人RSA密钥对,并牢固地存储在该卡上。所有加密操作都可以在SmartCard上安全完成。

我已经成功地在Android应用程序中实现了它所能提供的所有功能,例如访问公共Web服务,文档签名等。但是,一切都在应用程序内。

我想创建某种通用中间件,向钥匙扣提供加密材料或类似的东西,以便当应用程序请求关键材料(例如Chrome执行客户端证书身份验证时)时,可以选择,显示我的应用程序,显示并设置我的应用程序一切都起来了。

In Spain, every citizen has a national identity card (DNI), which is a NFC enabled smartcard that contains two client certificates and a public/private RSA key pair, stored securely on the card. All crypto operations are done securely on the smartcard.

I've successfully implemented in my Android app all it can offers, like access to public web services, document signing, etc. But everything is in-app.

I'd like to create some sort of generic middleware that provides crypto material to the KeyChain or something similar, so that when an app requests key material, for example Chrome when doing client certificate authentication, my app could be chosen, show up and set everything up.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文