是否可以使用SIM卡加密功能?
所有智能卡都具有嵌入式加密功能和计算能力。
是否可以利用开发的 Android 应用程序来利用这一点?例如,我是否能够使用 SIM 卡上存储的公钥/私钥对文件进行签名。
我听说过一些标准、规范和举措(ETSI-MSS、移动 PKI),但我没有看到此类架构的任何应用。
有人对此有一些线索吗?
All smartcards have embedded crypto capabilities and computation power.
Is is possible to take advantage of this with developed android application? For example, would I be able to sign a file using the public/private key stored on the SIM.
I heard about some standards and norms and initiatives (ETSI-MSS, Mobile PKI) but I do not see any application of such architecture.
Do someone has some clue on this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不可以,您无法在 Android 中直接访问 SIM 卡。对电话相关服务的所有访问都在 TelephonyManager API 中进行没有 API 暴露给 SIM 中的执行和加密操作。
No, you cannot access the SIM card directly in Android. All access to telephony-related services takes place in the TelephonyManager API and there is no API exposed to doing and cryptographic operations in the SIM.
我的理解是 SIM 卡不使用标准加密。处理网络的某些类型的身份验证和加密。考虑到 A3/5 的质量,我不确定您是否愿意。我怀疑你能否从中获得 AES 或 reven basic RSA实际上,上面的说法有些不正确:显然,要么让 SIM 卡具有此功能,要么编写通用库来公开它。然而,我一辈子都记不起我读过这篇文章的文章。
这似乎至少是一个起点 https:// /stackoverflow.com/a/9364030/980922
My understanding is that SIM cards do not use standard crypto. The handle certains kinds of authentication and crypto for the network. Given the quality of say A3/5, I'm not sure you would want to. I doubt you can get AES or reven basic RSA out of themActually the above statement is somewhat incorrect: apparently there is work either to get SIM cards to have this functionality or to write generic libraries for exposing it. I cannot,however, for the life of me remember the article I read this in.
This appears at least to be a starting point https://stackoverflow.com/a/9364030/980922