×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Getting Unique ID of Secure element

    Hi,

    Does anyone know how to get the unique id of the secure element from midlet when exchanging APDU command.

    Like OmniKey can detected the name of the card upon contact via the diagonstic tool.

  2. #2
    Regular Contributor
    Join Date
    Feb 2007
    Location
    France
    Posts
    56

    Smile Re: Getting Unique ID of Secure element

    I am not sure about SE unique ID. But MIFARE 4K card emulated by the phone has a unique NFC ID (stored Block 0 Sector 0 Manufacturer Block).
    Finalist, First European NFC Competition 2007
    2nd Prize Research Track, NFC Forum Global Competition 2008
    NFC Project Manager at the University of Nice Sophia-Antipolis, France
    http://tdelazzari.blogspot.com

  3. #3
    Regular Contributor
    Join Date
    May 2007
    Posts
    63

    Wink Re: Getting Unique ID of Secure element

    I just found it out,
    You can get the UID of the Java Card by this apdu command,
    FFCA000000

  4. #4
    Registered User
    Join Date
    May 2008
    Posts
    3

    Re: Getting Unique ID of Secure element

    Hi lovercjs,
    I tried to get the 'unique id of the secure element' from midlet by exchanging the APDU command "FFCA000000" in my Nokia 6131NFC phone as u have done.
    I always getting response as "6E 00" , means 'CLA value not supported'.
    The code segment i used is given below:
    Code:
    byte[] response;
    byte[] cmd;
    conn = (ISO14443Connection) Connector.open(System.getProperty("internal.se.url"));
    cmd = new byte[]{(byte)0xFF,(byte)0xCA,(byte)0x00,(byte)0x00,(byte)0x00}; 
    response= conn.exchangeData(cmd);
    Is there any mistake in this code?
    Please tell me a solution.
    Regards,
    Sujith

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    18

    Re: Getting Unique ID of Secure element

    Bump.

    Anyone checked this? Is this the proper way to get the unique id of SE? Are there any other methods?

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. Permanently locking the secure element
    By lovercjs in forum Near Field Communication
    Replies: 4
    Last Post: 2007-10-09, 17:15
  4. Using the secure element of 6131
    By lore1505 in forum Near Field Communication
    Replies: 1
    Last Post: 2007-09-27, 15:21
  5. Opening connection to the secure element fails when restarting the midlet.
    By tfroidcoeur in forum Near Field Communication
    Replies: 6
    Last Post: 2007-08-24, 08:38

Posting Permissions

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