payShield host commands

Key management

payShield A6 — Import Key

answers with A7

Import a key encrypted under a ZMK — raw hex, or a Thales/X9.143-TR-31 key block

Fields

FieldWhat it holds
Key Type3 chars000 (ZMK), 001 (ZPK), 002 (TMK/TPK), 003 (PVK), 009 (MAC key)
ZMK under LMK32 or 48 or 97 or 129 charsS… key block (97/129 chars), or 32/48 hex under a variant LMK
Key under ZMK32 or 48 or 80 charsraw hex under the ZMK, or a Thales/X9.143 TR-31 key block

Worked values

Example values for each field. The key blocks work against the Thales test LMK the simulator ships with.

From raw hex under ZMK
Key Type
001
ZMK under LMK
S10096K0TE00N00000663F8250BF0FF91DF4C91CCB0256EC24387973879ADD7A13A565AA103BF7B2DB0ADCB419A4D5115
Key under ZMK
F06AE033C6EA58C499F8AF232C0CB0FB
From an X9.143/TR-31 key block
Key Type
001
ZMK under LMK
S10096K0TE00N00000663F8250BF0FF91DF4C91CCB0256EC24387973879ADD7A13A565AA103BF7B2DB0ADCB419A4D5115
Key under ZMK
B0080P0TB00E00003BD4BEE8DFD8CB9A7D83605E6ECDE2239DE86A94B2A0626A8774851E864051A8
Open A6 in the simulator

Key management