Key management
answers with A7
Import a key encrypted under a ZMK — raw hex, or a Thales/X9.143-TR-31 key block
| Field | What it holds |
|---|---|
| Key Type3 chars | 000 (ZMK), 001 (ZPK), 002 (TMK/TPK), 003 (PVK), 009 (MAC key) |
| ZMK under LMK | Key Block LMK: enter the complete S key block. Variant LMK: 16 hex digits, U followed by 32, or T followed by 48. |
| Key under ZMK32 or 48 or 80 chars | raw hex under the ZMK, or a Thales/X9.143 TR-31 key block |
| Modified Key Usage | Optional · two characters for the imported Thales block (A6 TR-31 input, Core p.78). |
| Additional optional blocks | Optional · ID + 2H total length + data, e.g. 0508Note. Count is calculated; up to 6 blocks. KS/KV/PB forbidden. |
| Key Usage (#) | Non-key-block input → Key Block LMK. Optional section; all header fields are required if used. |
| Mode of Use (#) | One character; must be permitted for the selected usage. |
| Key Version (#) | 00–99; required when the # section is used. |
| Exportability (#) | N or S; required when the # section is used. |
| Optional blocks (#) | ID + 2H total length + data. Up to 8 blocks; PB forbidden. Count is calculated. |
| Message trailer | Optional · up to 32 printable ASCII characters. |
Example values for each field. The key blocks work against the Thales test LMK the simulator ships with.