|
SE050 Driver
API reference
|
Functions | |
| Error | BuildSelectDefaultIot (std::uint8_t *out, std::size_t cap, std::size_t *out_len) noexcept |
Build SELECT (CLA=0x00, INS=0xA4, P1=0x04, P2=0x00) for kDefaultIoTAppletAid. | |
| Error | BuildSelectCardManager (std::uint8_t *out, std::size_t cap, std::size_t *out_len) noexcept |
Build SELECT for the Card Manager / ISD (kCardManagerAid). | |
| Error | BuildSelectApplication (const std::uint8_t *aid, std::uint8_t aid_len, std::uint8_t *out, std::size_t cap, std::size_t *out_len) noexcept |
Build SELECT for an arbitrary AID / DF name. | |
Variables | |
| constexpr std::uint8_t | kDefaultIoTAppletAid [] |
| NXP Plug & Trust SE05x IoT applet AID (16 bytes). | |
| constexpr std::uint8_t | kDefaultIoTAppletAidLen |
sizeof(kDefaultIoTAppletAid) as a std::uint8_t (fits short Lc). | |
| constexpr std::uint8_t | kCardManagerAid [] |
| GlobalPlatform Card Manager / ISD AID (8 bytes). | |
| constexpr std::uint8_t | kCardManagerAidLen |
|
inlinenoexcept |
Build SELECT for an arbitrary AID / DF name.
| aid | Application identifier bytes. |
| aid_len | Length of aid (must fit in short Lc, ≤ 255). |
|
inlinenoexcept |
Build SELECT for the Card Manager / ISD (kCardManagerAid).
|
inlinenoexcept |
Build SELECT (CLA=0x00, INS=0xA4, P1=0x04, P2=0x00) for kDefaultIoTAppletAid.
| out | Serialized C-APDU. |
| cap | Capacity of out (≥ 5 + kDefaultIoTAppletAidLen + 1 when Le present). |
| out_len | Written length. |
|
inlineconstexpr |
GlobalPlatform Card Manager / ISD AID (8 bytes).
Used for platform SCP03 PUT KEY of ISD key version 0x0B. Not an IoT-applet object id.
|
inlineconstexpr |
|
inlineconstexpr |
NXP Plug & Trust SE05x IoT applet AID (16 bytes).
Matches SE05X_APPLET_AID / SE050C2 silicon. The older 13-byte A0000003960403030300000000 variant is not this part.
|
inlineconstexpr |
sizeof(kDefaultIoTAppletAid) as a std::uint8_t (fits short Lc).