payShield host commands

Key management

payShield A2 — Generate and Print a Component

answers with A3

Generate a random key component — the clear text goes to the attached printer; the host receives it encrypted under the LMK (the form A4 consumes)

Fields

FieldWhat it holds
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 Algorithm2 charsD1/T2/T3 (DES single/double/triple) or A1/A2/A3 (AES) — key block LMK; default T2

On the wire

Complete host messages. Each runs against the KeyLab simulator as printed. The header is four zeros here; the device echoes back whatever you send.

Generate and Print a Component

0000A2FFFS~#K0T2Nc0E00

4-char headercommand16 chars of fields
Send A2 to the simulator

Opens the simulator with this command already filled in.

Key management