SE050 Driver
API reference
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
se050_applet.hpp File Reference

SE050 applet selection helpers (ISO 7816-4 SELECT by DF name / AID). More...

#include "se050_apdu.hpp"
#include "se050_types.hpp"
#include <cstddef>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  se050
 
namespace  se050::applet
 

Functions

Error se050::applet::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 se050::applet::BuildSelectCardManager (std::uint8_t *out, std::size_t cap, std::size_t *out_len) noexcept
 Build SELECT for the Card Manager / ISD (kCardManagerAid).
 
Error se050::applet::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 se050::applet::kDefaultIoTAppletAid []
 NXP Plug & Trust SE05x IoT applet AID (16 bytes).
 
constexpr std::uint8_t se050::applet::kDefaultIoTAppletAidLen
 sizeof(kDefaultIoTAppletAid) as a std::uint8_t (fits short Lc).
 
constexpr std::uint8_t se050::applet::kCardManagerAid []
 GlobalPlatform Card Manager / ISD AID (8 bytes).
 
constexpr std::uint8_t se050::applet::kCardManagerAidLen
 

Detailed Description

SE050 applet selection helpers (ISO 7816-4 SELECT by DF name / AID).

The default AID bytes mirror the NXP Plug & Trust / mbed SE05x IoT applet convention. Always confirm the correct AID for your OEM OS build using NXP tooling (se05x_GetInfo) or your secure manufacturing database.