Secure Element: Difference between revisions

From iPhone Development Wiki
(Created page with "The Secure Element is part of the NFC chip described in http://iphonedevwiki.net/index.php/NFC and used to store the commands, signatures and cryptographic keys used in Ap...")
 
m (Minor format fixes.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
The Secure Element is part of the NFC chip described in [[http://iphonedevwiki.net/index.php/NFC]] and used to store the commands, signatures and cryptographic keys used in ApplePay transactions.
The Secure Element is part of the NFC chip described in [[NFC]] and used to store the commands, signatures and cryptographic keys used in ApplePay transactions.


The programming interface is spread across the following binaries:
The programming interface is spread across the following binaries:
/lib/exec/seld
* /lib/exec/[[seld]]
/usr/lib/libnfshared.dylib
* /usr/lib/libnfshared.dylib


Unlike the PN548 element - the commands for the secure element appear to be embedded in the seld daemon.
Unlike the PN548 element - the commands for the secure element appear to be embedded in the seld daemon.


Communication to the secure element is performed through XPC calls to seld.
Communication to the secure element is performed through XPC calls to [[seld]].
 
SELD plist:
{
    EnablePressuredExit = 1;
    EnableTransactions = 1;
    ExitTimeOut = 40;
    Label = "com.apple.seld";
    MachServices =    {
        "com.apple.seld" = 1;
        "com.apple.seld.aps" = 1;
    };
    Program = "/usr/libexec/seld";
    RunAtLoad = 1;
    UserName = mobile;
}

Latest revision as of 14:13, 25 September 2015

The Secure Element is part of the NFC chip described in NFC and used to store the commands, signatures and cryptographic keys used in ApplePay transactions.

The programming interface is spread across the following binaries:

  • /lib/exec/seld
  • /usr/lib/libnfshared.dylib

Unlike the PN548 element - the commands for the secure element appear to be embedded in the seld daemon.

Communication to the secure element is performed through XPC calls to seld.