×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Emulation / Secure element

    So the secure element consists of a Java card (65kB) and a Mifare 4k (4kB).

    Let's say I want to use the Java card as a storage area for virtual smart cards and emulate one at a time.
    So here are my questions:
    1. Can I somehow access the Java Card from the Mifare 4k (MFStandardConnection)? ISO14443Connection is not user friendly...
    2. Let's say I want to emulate a DESFire card, how is this done?
    3. Is there a way to make the Mifare 4k-area "shut up" so that a PCD won't detect it and at the same time emulate the DESFire from the Java Applet?
    4. Anyone tried making applets on the Java Card?
    5. The non-programmable UID, can it in fact be _programmable_ as it is saved on the fully programmable Java card in contrast to the Mifare 4k?
    Last edited by alixwarnke; 2008-01-28 at 14:37.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    17

    Re: Emulation / Secure element

    Quote Originally Posted by alixwarnke View Post
    So the secure element consists of a Java card (65kB) and a Mifare 4k (4kB).

    Let's say I want to use the Java card as a storage area for virtual smart cards and emulate one at a time.
    So here are my questions:
    1. Can I somehow access the Java Card from the Mifare 4k (MFStandardConnection)? ISO14443Connection is not user friendly...
    2. Let's say I want to emulate a DESFire card, how is this done?
    3. Is there a way to make the Mifare 4k-area "shut up" so that a PCD won't detect it and at the same time emulate the DESFire from the Java Applet?
    4. Anyone tried making applets on the Java Card?
    5. The non-programmable UID, can it in fact be _programmable_ as it is saved on the fully programmable Java card in contrast to the Mifare 4k?
    Hi,

    1. No you can only use ISO14443Connection to communicate with JavaCard Applets. MFStandardConnection is only used to communicate with the emulated Mifare part of the secure element.
    2. The secure element in the Nokia 6131 is a NXP SmartMX. This IC has a coprocessor for encryption, but I'm not sure if it can handle the same encryption methods as the DESFire card.
    3. No, the SmartMX has a dual interface which means it will emulate a part of the memory as Mifare.
    4. Not yet.
    5. I do not know.

  3. #3
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Emulation / Secure element

    Okay!

    It says in the technical spec. that the handheld can emulate ISO 14443A-cards (Mifare DESFire is ISO 14443A-compatible) as well as (the more specific) Mifare 1k/4k so my guess is that NXP SmartMX has those capabilities.

    Anyway, the secure element will probably be on the SIM-card on future handhelds so I'm not sure it's worth the trip to do tricky implementations on the Java card. Comments?

    Edit:
    SmartMX supports DES/3DES:
    http://www.nxp.com/acrobat_download/...on/m018413.pdf
    Last edited by alixwarnke; 2008-01-28 at 15:38.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    17

    Re: Emulation / Secure element

    Quote Originally Posted by alixwarnke View Post
    Anyway, the secure element will probably be on the SIM-card on future handhelds so I'm not sure it's worth the trip to do tricky implementations on the Java card. Comments?
    http://www.nxp.com/acrobat_download/...on/m018413.pdf
    I think this is not even standardized yet and before the handset manufacturers will implement this changes could take a while. I don't know what the purpose is of your application but it could be worthwile to develop your application. By the way on the most sim-card is also a JavaCard platform so the application will be easy portable from the secure element to the sim-card. Just keep in mind to separate the communication with the Mifare/NFC part apart from the logic of the application.

  5. #5
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Emulation / Secure element

    Quote Originally Posted by djdirkj View Post
    I think this is not even standardized yet and before the handset manufacturers will implement this changes could take a while. I don't know what the purpose is of your application but it could be worthwile to develop your application. By the way on the most sim-card is also a JavaCard platform so the application will be easy portable from the secure element to the sim-card.
    I don't think it has been standardized either (I certainly would have read about it by now if it was). It's only for a pilot application by the way. I glimpsed through Java Card API v 2.2.1 and could only find support for different types of encryption, nothing concerning card emulation

    Edit: Gemalto's Single Wire Protocol looks like the only candidate for the standardization at ETSI (should be done by now, but haven't found anything on their homepage), their rival candidate NXP withdrew and are now co-developping SWP-based solutions with Gemalto as of april 2007 if I'm not misinformed
    Last edited by alixwarnke; 2008-02-13 at 12:56.

  6. #6
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Re: Emulation / Secure element

    Edit: Gemalto's Single Wire Protocol looks like the only candidate for the standardization at ETSA (should be done by now, but haven't found anything on their homepage), their rival candidate NXP withdrew and are now co-developping SWP-based solutions with Gemalto as of april 2007 if I'm not misinformed[/QUOTE]


    The SWP standards appears to be critical to moving NFC forward. Given no handsets are yet available, is there any indication of timescales when handsets will be demonstrated?

  7. #7
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    173

    Re: Emulation / Secure element

    Apparantly SWP was standardized in october 2007 (no big press releases of this though). NXP and Gemalto will probably have something to present soon... Otherwise StoLPan will in 2009

  8. #8
    Registered User
    Join Date
    Mar 2009
    Posts
    4

    Re: Emulation / Secure element

    Hi alixwarnke !
    I'm currently working on a project which the purpose is to emulate a Desfire card, developing an applet in the secure element of a Nokia 6212.
    However, for the moment I don't know how handle the Desfire architecture, so I'm quite stuck, and I'm wondering if you found a way to do it ?

    Thank You !

  9. #9
    Registered User
    Join Date
    Mar 2010
    Posts
    1

    Re: Emulation / Secure element

    Quote Originally Posted by alixwarnke View Post
    So the secure element consists of a Java card (65kB) and a Mifare 4k (4kB).

    2. Let's say I want to emulate a DESFire card, how is this done?
    Did you (or anyone else) succeded to do this on SmartMX?

    Thanks,

    Nir

Similar Threads

  1. Nokia 6131 NFC and Secure Element of a MiFare SmartCard
    By j.delinselle in forum Near Field Communication
    Replies: 2
    Last Post: 2009-11-05, 08:56
  2. Info on Authenticating with the Secure Element
    By phoenix__ in forum Near Field Communication
    Replies: 20
    Last Post: 2009-07-29, 11:04
  3. Reading and writing to the Secure Element (Nokia 6131)
    By wobbly101 in forum Near Field Communication
    Replies: 0
    Last Post: 2007-11-09, 13:43
  4. Permanently locking the secure element
    By lovercjs in forum Near Field Communication
    Replies: 4
    Last Post: 2007-10-09, 17:15
  5. Using the secure element of 6131
    By lore1505 in forum Near Field Communication
    Replies: 1
    Last Post: 2007-09-27, 15:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×