Ambimat GroupAmbimatAmbiSecureeSIM InitiativeEngineering BlogAhmedabad · India · Est. 1981
Secure messaging

Secure Messaging Field Visualizer

Walk the BER-TLV body of an ISO/IEC 7816-4 secure-messaging APDU: 87 (encrypted with padding indicator), 97 (Le), 99 (status), 8E (MAC), 84 (legacy cryptogram). The companion to the SCP03 walkthrough.

Input

Decoded

Paste the SM-wrapped APDU body.
All decoding runs locally.

About secure messaging

ISO/IEC 7816-4 §6 defines a BER-TLV encoding where data objects in the body of an APDU describe encrypted payloads (87/86), expected-length (97), processing status (99), and a cryptographic checksum (8E) over the command. The CLA byte signals SM is in effect via bits b3..b2.

Spec

ISO/IEC 7816-4 §6 and Annex A.