简体   繁体   English

使用Mifare DESFire通过Android应用和锁系统进行身份验证

[英]Using Mifare DESFire for authenticating with Android app and lock system

I have browsed a lot of related questions and answers, have gained approximate understanding on how that might work, but I just need someone pointing me towards the right direction regarding DESFire master and application keys as well the multiple application system. 我浏览了许多相关的问题和答案,对如何使用它有了大概的了解,但是我只需要有人向我指出有关DESFire主密钥和应用程序密钥以及多应用程序系统的正确方向。

My questions are as follows: 我的问题如下:

  1. Are the "applications" of DESFire as different real-life applications, meaning that an application on DESFire can be mapped to a certain real-life application like authenticating personal computer, opening doors at your workplace and proceeding with an online payment? DESFire的“应用程序”是否与现实生活中的应用程序不同,是否意味着DESFire上的应用程序可以映射到某些现实生活中的应用程序,例如对个人计算机进行身份验证,在工作场所打开门并进行在线支付?
  2. If so, what should I keep generally in mind designing a solution with DESFire? 如果是这样,我在使用DESFire设计解决方案时通常应该记住什么?
  3. How should I generate and store the keys? 我应该如何生成和存储密钥? Single card would be used for a booking system at my workplace and opening doors at home. 单张卡将用于我的工作场所的预订系统和在家中打开的门。 There is no intent of designing a custom NFC-enabled door-lock system, something available on the marked would be used instead. 无意设计定制的支持NFC的门锁系统,而是使用标记上提供的功能。 Suggestions of systems are welcome here as well. 这里也欢迎系统建议。
  4. Door locks have NFC terminals, can someone with experience explain me a bit to what extent the terminals can be configured? 门锁具有NFC终端,有经验的人可以向我解释一下终端可以配置的程度吗? Are they just storing the master and application keys or it is possible to define custom authentication algorithm usually? 它们只是存储主密钥和应用密钥,还是通常可以定义自定义身份验证算法? How? 怎么样?

So far I've decided to use the Mifare SDK Advanced for Android to handle the writing and also authenticating the card in one of it's applications. 到目前为止,我已经决定使用适用于Android的Mifare SDK Advanced来处理书写并在其中一个应用程序中对卡进行身份验证。 Any opinions on that? 有什么意见吗?

Thanks! 谢谢!

DESFIRE card are Storage card. DESFIRE卡是存储卡。 You could store data in records. 您可以将数据存储在记录中。 Records are stored in application. 记录存储在应用程序中。

Each card could have 28 applications. 每张卡可以有28个应用程序。 Each application could have 16 files. 每个应用程序可能有16个文件。 File is defined with 5 types: - Standard Data Files - Backup Data Files - Value Files with - Linear Record Files with Backup - Cyclic Record Files with Backup 文件定义为5种类型:-标准数据文件-备份数据文件-值文件-带有备份的线性记录文件-带有备份的循环记录文件

All application could be secured by key. 所有应用程序都可以通过密钥保护。

So there's no real life app. 因此,没有现实生活中的应用程序。 But you can store data as you want on it. 但是您可以根据需要存储数据。 For instance data for : 例如:

  • wallet 钱包
  • Authentication 认证

Keep in mind, specifications are confidential and you need a NDA to get it. 请记住,规格是机密的,您需要NDA才能获得它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM