![IDTECH Vivopay Neo 2 Скачать руководство пользователя страница 344](http://html.mh-extra.com/html/idtech/vivopay-neo-2/vivopay-neo-2_developers-manual_618786344.webp)
NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
344
8.23.
Key Injection and Related Commands
8.23.1.
Get DUKPT Key KSN Extended (81-0B)
Use this command to get DUKPT Key KSN (Extended) according to Key Name Index and Key
Slot.
Command Frame
Byte 0-9
Byte 10
Byte 11
Byte 12 Byte 13
Byte 14,15
Byte 16
Byte 17
Header Tag &
Protocol
Version
Command
Sub-Command
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC
(LSB)
CRC
(MSB)
ViVOtech2\0
81h
0Bh
03h
See Tables
Below
Command Data Field
Data Field
Length
(bytes)
Description
Key Name Index
1
0x14 – LCL-KEK
0x01 – Pin encryption Key
0x02 - Data encryption Key
0x05 – MAC DUKPT Key
0x0A – PCI Pairing Key
Key Slot
2
Indicate different slots of a certain Key Name
Example: slot =5 (0x00 0x05), slot=300 (0x01 0x2C)
For BTPay380, slot is always 0
Response Frame
Byte 0-9
Byte 10
Byte 11 Byte 12
Byte 13
Byte 14 …
Byte 13+n
Byte
14+n
Byte
15+n
Header Tag &
Protocol
Version
Command
Status
Code
Data
Length
(MSB)
Data
Length
(LSB)
Data
CRC
(MSB)
CRC (LSB)
ViVOtech2\0
81h
See
Status
Codes
01h or 0Bh
See Tables
Below