Page | 35
Response Body:
06 <2-byte Block Length> <KeyStatusBlock1> <[KeyStatusBlock2]> … <[KeyStatusBlockN]>, Or
15 <Error Code>
Response Example
STX
Len
Low
Len
High
Response Body
LRC
CHK
SUM
ETX
02
06 <Block Length Low><Block Length High>
<KeyStatusBlock1>
<[KeyStatusBlock2]> …
<[KeyStatusBlockN]>
03
Response Hex String Example:
0263000618000000000001000000030000000400000006000000070000000800000008000100
080002000800030008000400080005000800060008000700080008000800090008000a000800
0b000a0000000a03e8000c0000000d0000001400000128000000ce2a03
Where:
<Block Length> - 2 bytes (LenL, LenH)
KeyStatusBlock format is <Key Index and Key Name> <key slot> <key status>
Key Name
Key Index and Key Name
Host-PINPAD Master DUKPT Key
0x00
PIN DUKPT Key
0x01
PIN Pairing DUKPT Key
0x03
Data Pairing DUKPT Key
0x04
CR-PINPAD Master DUKPT Key
0x06
CR-PINPAD MAC DUKPT Key
0x07
PIN Master Key
0x08
Pairing MSR BDK Key
0x0D
LCL-KEK(HSM DUKPT KEY)(HSM
DUKPT KEY)
0x14
PIN Session Key
0x28
•
<
key slot> - 2 bytes. Range is 0 – 9999 (If key has not Slot, the value is 0x00 0x00, if key slot is 1000, the
value is 0x03 0xE8)
•
<key status> - 1 byte:
o
0 – Not Exist
o
1 – Exist
•
0xFF – Key Stop (Only Valid for DUKPT Key)`
8.8.9
Get Key Status
Command Body:
78 46 30
Command Example
STX
Len
Low
Len
High
Command Body
LRC
CHK
SUM
ETX
02
03
00
78 46 30
0E
EE
03
Output Hex String: 0203007846300eee03