payShield host commands

Key management

payShield A4 — Form a Key from Encrypted Components

answers with A5

Form a key by XORing 2–9 encrypted components returned by A2 under the selected LMK

Fields

FieldWhat it holds
Number of Components1 charsEnter the number of encrypted components, from 2 to 9.
Key Type3 chars000 (ZMK), 001 (ZPK), 002 (TMK/TPK), 003 (PVK), 009 (MAC key)
Key Scheme1 charsS (key block) — or U/T/X under a variant LMK
Component 1Paste the encrypted component returned by A2, excluding its KCV.
Component 2Paste the encrypted component returned by A2, excluding its KCV.
Component 3Paste the encrypted component returned by A2, excluding its KCV.
Component 4Paste the encrypted component returned by A2, excluding its KCV.
Component 5Paste the encrypted component returned by A2, excluding its KCV.
Component 6Paste the encrypted component returned by A2, excluding its KCV.
Component 7Paste the encrypted component returned by A2, excluding its KCV.
Component 8Paste the encrypted component returned by A2, excluding its KCV.
Component 9Paste the encrypted component returned by A2, excluding its KCV.
LMK Identifier (optional)2 chars2 digits, e.g. 01 — blank uses the default slot
Formed Key VersionTwo decimal digits, default 00.
Formed key optional blocksID + 2H total length + data. Up to 8 blocks. Count is calculated.
Message trailerOptional · up to 32 printable ASCII characters.

Worked values

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

From encrypted components (A2 output)
Key Type
FFF
Key Scheme
S
Number of Components
2
Component 1
S10096K0TNc1E000050A9E1E08C4FCD1070B7539467FD6580B2ED5840935F173760A7043274245F9AAEC83552FF26804D
Component 2
S10096K0TNc2E0000D06B2F3E6B5E5DAD62C0A661F3B89153059995893F2933C07ABD1453ED432356A998F16C724ABF7E
Open A4 in the simulator

Key management