Today is Samstag, 23rd März 2019

SEEK for Android

An API is required to access the secure elements in the phone. Accessing the embedded secure element within the NXP PN65 can be done through the SmartConntect architecture and the FRI. The embedded secure element first needs to be switched into wired mode. Then a communication channel has to be established. After that APDUs can be sent to the smartcard chip to read and write information from the secure memory.

Accessing the SIM card is more difficult in this case. The host controller is not directly connected to the SIM card but is connected through a GSM modem with the SIM Card. Thus the host controller needs to send commands to the Radio Interface Layer (RIL) which then talks to the SIM Card. As the RIL is a proprietary implementation (not yet an open source component) and might differ from device to device opening this communication channel is more difficult. The open source project Secure Element Evaluation Kit (SEEK) from Giesecke \& Devrient is providing tutorials and an open source stack for accessing the SIM card from an Android application. But so far the implementation is very limited as the RIL filters the class byte of APDUs and therefore a sound communiction with applets on the UICC in the device is not yet possible. An official implementation from Google is not yet available for developers.

The JSR177 takes over this part on the J2ME platform. The intended goal of this API was to provide cryptographic functionality of a smartcard chip to J2ME applications. Also the use of a secure storage for DRM certificates and digital signatures was a use case during the definition. With the introduction of NFC and the use of a smartcard chip for tag emulation, this API received a boost in importance. In 2007 a maintenance release was published.

Welcome at