Проблема с защищенным обменом сообщениями в приложении Android HCE — неверный класс (SW 6E00) во время выбора AID ⇐ Android
Проблема с защищенным обменом сообщениями в приложении Android HCE — неверный класс (SW 6E00) во время выбора AID
I'm currently developing an Android Host Card Emulation (HCE) app targeting API level 34. My application handles the server-side implementation of PACE (Password Authenticated Connection Establishment) authentication and responds to APDU commands in secure messaging.
The PACE authentication part is working as expected. However, I face an issue with the encrypted SELECT AID command that follows the PACE process. Specifically, I receive an SW 6E00 (invalid class) response. I suspect this is related to the CLA=0C in the SELECT command.
My question: Does Android HCE support AID selection with secure messaging? If so, could someone guide me on the correct approach to achieve this?
I understand that resolving the select issue is crucial, and once done, I'll need to explore how to dynamically register the encrypted AID of my second applet...
Your assistance is highly appreciated. Thank you in advance.
During my tests, I observed that when sending a READ BINARY in Secure Messaging, it consistently falls into the **processCommandApdu**. The main concern is that only the SELECT command always returns 6E00.
When troubleshooting, I attempted to retrieve the entry point of the SELECT AID in Android API. My goal was to understand how this part is managed and gain insights into error handling. Unfortunately, I didn't find nothing.
Источник: https://stackoverflow.com/questions/780 ... e00-during
I'm currently developing an Android Host Card Emulation (HCE) app targeting API level 34. My application handles the server-side implementation of PACE (Password Authenticated Connection Establishment) authentication and responds to APDU commands in secure messaging.
The PACE authentication part is working as expected. However, I face an issue with the encrypted SELECT AID command that follows the PACE process. Specifically, I receive an SW 6E00 (invalid class) response. I suspect this is related to the CLA=0C in the SELECT command.
My question: Does Android HCE support AID selection with secure messaging? If so, could someone guide me on the correct approach to achieve this?
I understand that resolving the select issue is crucial, and once done, I'll need to explore how to dynamically register the encrypted AID of my second applet...
Your assistance is highly appreciated. Thank you in advance.
During my tests, I observed that when sending a READ BINARY in Secure Messaging, it consistently falls into the **processCommandApdu**. The main concern is that only the SELECT command always returns 6E00.
When troubleshooting, I attempted to retrieve the entry point of the SELECT AID in Android API. My goal was to understand how this part is managed and gain insights into error handling. Unfortunately, I didn't find nothing.
Источник: https://stackoverflow.com/questions/780 ... e00-during
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Используйте управляемое удостоверение с обменом сообщениями служебной шины Azure.
Anonymous » » в форуме JAVA - 0 Ответы
- 23 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Используйте управляемое удостоверение с обменом сообщениями служебной шины Azure.
Anonymous » » в форуме JAVA - 0 Ответы
- 26 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Используйте управляемое удостоверение с обменом сообщениями служебной шины Azure.
Anonymous » » в форуме JAVA - 0 Ответы
- 18 Просмотры
-
Последнее сообщение Anonymous
-