Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 15 of 23

PINpad 1000SE Reference and Programmers Guide, pages 141 to 150

Pages 141 to 150 of 229

The original document is the PDF (8.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the VeriFone PINPad 1000SE

Page 141

MAC P ACKETS Message Authentication Code (MAC)

Controller

Transmission Direction

Wait Receive

PINpad Process

<---Z67---

Send Out of Order Error

Z66/Z67 Protocol This protocol combines Z66 Request MAC and Z67 Return MAC. Controller

Transmission Direction

Z66 packet

------> <------

PINpad

ACK = LRC OK NAK = LRC incorrect

<-----ACK = LRC OK

Z67 packet

------>

NAK = LRC incorrect (EOT after 3 NAKs)

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

139

Page 142

MAC P ACKETS Message Authentication Code (MAC)

140

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 143

CHAPTER 8 DUKPT Message Packets This section discusses the message packets and formats that are supported when the PINpad device is set to DUKPT or Master/Session DUKPT mode. When the unit is set only as "Master/Session," message packets and formats in this section are not supported. NOTE

The default mode of the PINpad at initial power up is PP1000 mode, MS 1DES mode. Two DUKPT modes are implemented in the PINpad. The PINpad can run in either 1DES DUKPT mode or 3DES DUKPT mode in each DUKPT Engine.

NOTE

All keys associated with a DUKPT Engine are erased when a DUKPT engine switches between 1DES DUKPT mode and 3DES DUKPT mode.

Multiple DUKPT Engines

The PINpad supports three DUKPT engines. See 19 Select a DUKPT Engine for more details.

DUKPT Overview

Before actual operation, a highly secure module known as a "key loading device" utilizes a derivation key to load a unique initial Key Serial Number (KSN) and a unique initial PIN Encryption Key (PEK) into the PINpad device. The derivation key used to encrypt the initial KSN may also be used for thousands of PINpad loads. An encryption counter incorporated in the key-loading process is automatically set to zero.

The default DUKPT engine is set to "0". DUKPT engine is set to "0" at the start of each power cycle.

Once the PINpad receives its KSN and PEK, it sets its own encryption counter to zero. During the generation of each encrypted PIN block, the PINpad unit outputs the current serial number (a concatenation of the initial KSN and the encryption counter). This produces a new encryption key utilized to encrypt the PIN entry and create the PIN block for each transaction.

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

141

Page 144

DUKPT M ESSAGE P ACKETS Functional Listing of PINpad Messages

Encryption during a transaction occurs as follows:

1 The controller sends an account number to the PINpad, then the PINpad device requests and receives PIN entry via the keyboard.

2 The PINpad device generates the clear-text PIN block using the account number and PIN.

3 Using the generated PEK, based on the encryption counter that is updated after each transaction, the PINpad does a special encryption to the PIN block using the DES algorithm and PEK. The PINpad then sends the encrypted PIN block with current KSN (the concatenation of the initial KSN and the encryption counter) to the controller.

4 The controller then appends the encrypted PIN block and current KSN to a request packet and forwards the completed request packet to the host. While this is occurring, the PINpad performs internal key processing tasks.

Functional Listing of PINpad Messages

The messages sent to and from the PINpad to manipulate operations or control specific PINpad functions are divided into several functional groups. These groups include packets for interactive diagnostic tests, and standard and custom communication.

Interactive Diagnostic Test

Interactive tests between the PINpad and the controller run only upon request. These tests use the VeriFone-defined message Packets 01, 05, 06, 09, 11 and 12 and are listed under Management Packets. Message

Description

19

19 Select a DUKPT Engine

25

25 Check DUKPT Engine

Preauthorization Packets

142

Message

Description

60

60 Pre-Authorization: PIN Entry Request

62

62 Pre-Authorization: Transaction Amount Authorization Request

63

63 Pre-Authorization: Transaction Amount Authorization Response

66

66 Pre-Authorization: PIN Entry Test Request

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 145

DUKPT M ESSAGE P ACKETS Functional Listing of PINpad Messages

Standard Communication

The standard messages sent between the PINpad unit and the controller follow the VISA message packet format and allow the PINpad to be programmed with standard VISA prompts and control the PINpad display. There is sufficient variation in Packets 70 and 71 to merit specific discussions in this chapter, as well as in the Master/Session Message Packets chapter. Message

Description

70

70 Request PIN Entry

71

71 Transfer PIN Block

76

76 PIN Entry Test Request

Key Loading Device to PINpad Packets

Custom Communication

Message

Description

90

90 Load Initial Key Request

91

91 Load Initial Key Response

These message packets were created to provide the PINpad with special prompts and data entry requirements for custom applications. The request and response messages pass between the controller and the PINpad, allowing the controller to customize prompts and control PINpad operations. There is sufficient variation in Packets Z60 and Z62 to merit specific discussions in this chapter, as well as in the Master/Session Message Packets chapter. Message

Description

Z60

Z60 Accept and Encrypt PIN

Z62

Z62 Accept and Encrypt PIN (with Custom Prompts)

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

143

Page 146

DUKPT M ESSAGE P ACKETS 19 Select a DUKPT Engine

19 Select a DUKPT Engine Selects one of the available DUKPT engines.

Support Mode

Comments

PINpad 1000

PINpad 1000SE

D

D

The master device sends this packet to the PINpad to select one of the DUKPT engines ("0", "1", or "2"). VeriFone recommends that the master device should always send this packet first before sending a packet (e.g. Packets 60, 62, 66, 70, 76, 90, 61, 62, etc.) to request for DUKPT function.

NOTE

The default DUKPT engine is set to "0".

Packet Format

<SI> 19 [a] <SO>{LRC}

Elements Type

Field

Length

Description

<SI> start of packet

1

ASCII Shift In Control Character; Value: `0Fh'

19 packet type

2

Select a DUKPT Engine

[a] packet type

1

DUKPT Engine: "0", "1", or "2"

<SO> end of packet character

1

ASCII Shift Out Control Character; Value: `0Eh'

{LRC} block code check

1

Error Check Character

Packet Length: maximum 6 characters, minimum 6 characters

Example

<SI> 19 2 <SO>{LRC}

Selects second DUKPT engine.

Protocol Controller

Transmission Direction

19 packet

------> <------

PINpad

ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)

<------

144

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

19 packet echo

Page 147

DUKPT M ESSAGE P ACKETS 19 Select a DUKPT Engine

Controller

Transmission Direction

ACK = LRC OK

------>

PINpad

NAK = LRC incorrect (EOT after 3 NAKs) PINpad selects specified DUKPT engine <-----NOTE

EOT to terminate process

If there is any packet format error, PINpad does not echo the response packet back to the master device. Incorrect packet format can include out of range DUKPT engine, incorrect packet type, incorrect packet length, etc.

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

145

Page 148

DUKPT M ESSAGE P ACKETS 25 Check DUKPT Engine

25 Check DUKPT Engine Identifies which one of the available DUKPT engines is selected.

Support Mode

Comments Request Format

PINpad 1000

PINpad 1000SE

D

D

The master device sends this packet to the PINpad to check the current active DUKPT engines ("0", "1", or "2"). <SI> 25 <SO>{LRC}

Elements Type

Field

Length

Description

<SI> start of packet

1

ASCII Shift In Control Character; Value: `0Fh'

25 packet type

2

Check DUKPT Engine

<SO> end of packet character

1

ASCII Shift Out Control Character; Value: `0Eh'

{LRC} block code check

1

Error Check Character

Packet Length: maximum 5 characters, minimum 5 characters

Response Format

<SI> 25 [a] <SO>{LRC}

Elements Type

Field

Length

Description

<SI> start of packet

1

ASCII Shift In Control Character; Value: `0Fh'

25 packet type

2

Check DUKPT Engine

[a] packet type

1

DUKPT Engine: "0", "1", or "2"

<SO> end of packet character

1

ASCII Shift Out Control Character; Value: `0Eh'

{LRC} block code check

1

Error Check Character

Packet Length: maximum 6 characters, minimum 6 characters

Example

<SI>25<SO>{LRC}

Requests check of DUKPT Engine. <SI>251<SO>{LRC}

Responds that DUKPT Engine "1" is active.

146

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 149

DUKPT M ESSAGE P ACKETS 25 Check DUKPT Engine

Protocol Controller

Transmission Direction

25 request packet

------> <------

PINpad

ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs)

<-----ACK = LRC OK

25 response packet

------>

NAK = LRC incorrect (EOT after 3 NAKs) <------

EOT to terminate process

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

147

Page 150

DUKPT M ESSAGE P ACKETS 60 Pre-Authorization: PIN Entry Request

60 Pre-Authorization: PIN Entry Request Creates and encrypts the PIN block.

Category Support Mode

Comments

Preauthorization packet PINpad 1000

PINpad 1000SE

D

D

This packet is to create and encrypt the PIN block. This packet must be preceded by a display packet such as Packet Z2 or Z3 and followed by the PIN transmittal packet 71. The terminal must then transmit Packet 62 to the PINpad device. PIN length must be in the range of 4-12 digits. PIN length less than 4 digits is not allowed and results in an error beep. Null PIN entry is not allowed and also results in an error beep.

Packet Format

<STX> 60 [primary account#] <ETX>{LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

ASCII Start of Text Control Character; Value: `02h'

60 packet type

2

PIN Entry Request

[primary account#] packet parameter

8-19

Card Account Number

<ETX> end of packet character

1

ASCII End of Text Control Character, Value:`03h'

{LRC} block code check

1

Error Check Character

Packet Length: maximum 24 characters, minimum 13 characters

Example

<STX> 600123456789876543210 <ETX>{LRC}

Protocol Controller

Transmission Direction

60 packet

------> <------

PINpad

ACK = LRC OK NAK = LRC incorrect User PIN entry; asterisks are displayed.

<------

148

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Packet 71 with the encrypted PIN block