The text of a manual · part 17 of 23
PINpad 1000SE Reference and Programmers Guide, pages 161 to 170
Pages 161 to 170 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 161
DUKPT M ESSAGE P ACKETS 76 PIN Entry Test Request
Protocol Controller
Transmission Direction
76 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
<-----ACK = LRC OK
Packet 71 with PIN = '1234'
------>
NAK = LRC incorrect (EOT after 3 NAKs)
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
159
Page 162
DUKPT M ESSAGE P ACKETS 90 Load Initial Key Request
90 Load Initial Key Request Loads the initial key to the PINpad device.
Category Support Mode
Comments
Packet Format
Key Loading Device to PINpad Packet PINpad 1000
PINpad 1000SE
D
D
After the initialization of 21 future keys, the PINpad will respond with 91 Load Initial Key Response with confirmation status. If the PINpad receives a transaction packet before Packet 90 is loaded, the error message ERR-NO KEY is displayed. <STX> 90 [initial PIN encryption key] [key serial number] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
90 packet type
2
Load Initial Key Request
[IPEK] packet parameter
16 or 32
Initial PIN Encryption Key; hexadecimal 16 - 1DES Mode 32 - 3DES Mode
[KSN] packet parameter
20
Key Serial Number; hexadecimal; (leading F's included)
<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 57characters, minimum 41 characters NOTE
Example
The difference between DUKPT 1DES mode and DUKPT 3DES mode is in the size of the Initial PIN Encryption Key. <STX> 90123456789101112101234567891011121314 <ETX>{LRC}
Protocol Controller
Transmission Direction
90 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect
160
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 163
DUKPT M ESSAGE P ACKETS 90 Load Initial Key Request
Controller
Transmission Direction <------
ACK = LRC OK
PINpad Initialization of 21 future keys; Packet 91 with confirmed status
------>
NAK = LRC incorrect (EOT after 3 NAKs)
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
161
Page 164
DUKPT M ESSAGE P ACKETS 91 Load Initial Key Response
91 Load Initial Key Response Responds to 90 Load Initial Key Request with confirmation status to the controller.
Category Support Mode
Comments
Packet Format
Key Loading Device to PINpad Packet PINpad 1000
PINpad 1000SE
D
D
If 21 future keys are successfully initialized, a positive confirmation response (0) is sent via Packet 91; otherwise a negative confirmation response (1) is sent via Packet 91. <STX> 91 [CS] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
91 packet type
2
Load Initial Key Response
[CS] packet parameter
1
Confirmation Status: • 0 = Confirmed • 1 = Not Confirmed • 2 = Error – Incorrect Key Length
<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 6 characters, minimum 6 characters NOTE
Example
162
Confirmation Status – 2 indicates that the length of the Initial PIN Encryption Key does not comply with 1DES or 3DES mode. Example follows.
Initial PIN Encryption Key length (via packet 90) sent by Master Device
Current DUKPT Mode
[CS] Response
16
3DES
2
32
1DES
2
<STX> 91 1 <ETX>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 165
DUKPT M ESSAGE P ACKETS 91 Load Initial Key Response
Protocol Controller
ACK = LRC OK
Transmission Direction
PINpad
------>
91 packet
------>
NAK = LRC incorrect (EOT after 3 NAKs)
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
163
Page 166
DUKPT M ESSAGE P ACKETS Z60 Accept and Encrypt PIN
Z60 Accept and Encrypt PIN Directs the PINpad device to accept the customer PIN, create and encrypt the PIN block, and transmit the PIN block to the controller.
Category
Custom Communication Packet
Support Mode
Comments
PINpad 1000
PINpad 1000SE
D
D
This packet must be preceded by a display packet, such as Packet Z2 or Z3, and followed by the PIN transmittal Packet 71. The PIN length must be in the range of 4-12 digits. PIN length of 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.
NOTE
During the Z60 session, only 72 Cancel Session Request from the controller or the PINpad [CLEAR] key can cancel the session.
•
If data entry is not initiated, pressing [CLEAR] cancels the operation and sends an [EOT] to the controller.
•
If data entry is initiated, the PINpad unit clears the entry, redisplays the previous prompt and restarts data entry.
Any message packet requesting a PINpad display (e.g., Z2, Display A String) must precede Z60 for the message to be displayed before PIN entry.
Packet Format
<STX> Z60.[account#] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z60 packet type
3
Accept and Encrypt PIN
.
hexadecimal
1
Command Delimiter; period: '.' Hex value: '2Eh'
[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 26 characters, minimum 15 characters
Example
164
<STX> Z60.4000000000006 <ETX>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 167
DUKPT M ESSAGE P ACKETS Z60 Accept and Encrypt PIN
Protocol Controller
Transmission Direction
Z60 packet
------> <------
PINpad
ACK = LRC OK NAK = LRC incorrect customer PIN entry; asterisks are displayed
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
165
Page 168
DUKPT M ESSAGE P ACKETS Z62 Accept and Encrypt PIN (with Custom Prompts)
Z62 Accept and Encrypt PIN (with Custom Prompts) Combines the PIN entry request, display specifications, and transmittal into one message packet.
Category
Custom Communication Packet
Support Mode
Comments
PINpad 1000
PINpad 1000SE
D
D
This packet directs the PINpad device to alternate up to two displays every 3 seconds, get user input of PIN, encrypt the PIN, send the encrypted PIN to the controller and display the specified processing message. The function is quite similar to Z60 Accept and Encrypt PIN, but Packet Z62 allows programmers to specify display messages to display in rotation before the PIN entry, identify the PIN length, allow null PIN entries, and display the processing message after the PIN entry. Display messages that are longer than 16 bytes will be displayed rightjustified with the extra message bytes ignored. The PIN length can be 4-12 digits. PIN entries of 1-3 digits are treated as errors, generating an error beep. Null PIN entry is also accepted. If a null PIN is entered, the [pin] field of return Packet 71 is set to null.
NOTE
NOTE
Packet Format
During the Z62 session, only Packet 72 from the controller or the PINpad [CLEAR] key can cancel the session.
•
If data entry is not initiated, pressing [CLEAR] cancels the operation and sends an [EOT] to the controller.
•
If data entry is initiated, the PINpad clears the entry, redisplays the previous prompt and restarts data entry.
The User Definable Character (UDC) function is supported in this packet for [message1], [message2], and [process msg]. This extends the maximum packet length, since 5 characters can be used to for each UDC. See User Definable Character (UDC) Functions for more details. <STX> Z62.[account#] <FS> [min pin] [max pin] [null flag] [message1] <FS> [message2] <FS> [processing message] <ETX>{LRC}
Elements
166
Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z62 packet type
3
Encrypt PIN/Display Custom Messages
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 169
DUKPT M ESSAGE P ACKETS Z62 Accept and Encrypt PIN (with Custom Prompts)
Type
Field
Length
Description
.
hexadecimal
1
Command Delimiter; period: '.' Hex value: '2Eh'
[account#] packet parameter
8-19
Card Account Number
<FS> packet parameter
1
Field Separator
[min pin] packet parameter
2
Minimum Acceptable PIN Length; Range: 04-12, null PIN permitted
[max pin] packet parameter
2
Maximum Acceptable PIN Length; Range: 04-12, null PIN permitted
[null flag] packet parameter
1
Null PIN status: • Y = Null PINs allowed • N = Null PINs not allowed
[message1] packet parameter
0-16
Message to alternate with [message2] until customer presses key (UDC function is supported in this packet)
<FS> packet parameter
1
Field Separator
[message2] packet parameter
0-16
Message to alternate with [message1] until customer presses key (UDC function is supported in this packet)
<FS> packet parameter
1
Field Separator
[processing message] packet parameter
0-16
Processing Message Displayed After PIN Entry
<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 255 characters, minimum 23 characters NOTE
Examples
The User Definable Character (UDC) function is supported in this packet for [message1], [message2], and [process msg]. This extends the maximum packet length, since 5 characters can be used to for each UDC. See User Definable Character (UDC) Functions for more details. <STX>Z62.4000000000006<FS>0412YMESSAGE 1<FS>MESSAGE 2<FS>PROCESSING MSG<ETX>{LRC}
The PINpad alternately displays 'MESSAGE 1' and 'MESSAGE 2' until a PIN number or a null PIN is entered. A null PIN is generated by pressing the 'ENTER' key. Only a PIN number with length ranges from 4 to 12 digits is accepted. Each PIN digit is echoed with an asterisk '*'. As soon as the PIN number has been entered, the third message 'PROCESSING MSG' will be shown. <STX> Z62.4000000000006 <FS> 0412YTHANK YOU <FS> PLEASE ENTER PIN <FS> PROCESSING MSG <ETX>{LRC}
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
167
Page 170
DUKPT M ESSAGE P ACKETS Z62 Accept and Encrypt PIN (with Custom Prompts)
The PINpad alternately displays THANK YOU and PLEASE ENTER PIN until the customer presses the first key. A null PIN is generated by pressing the [ENTER] key only. PIN numbers must be between 4 and 12 digits in length. Each PIN digit is echoed with an asterisk ("*"). After the PIN entry, the third message PROCESSING MSG will be displayed. <STX>Z62.4000000000006<FS>0608NMESSAGE 1<FS><FS>PROCESSING MSG<ETX>{LRC}
The PINpad alternately displays 'MESSAGE 1' and 'MESSAGE 2' until a PIN number or a null PIN is entered. No null PIN is allowed; only a PIN number with PIN length ranges from 6 to 8 digits is accepted. Each PIN digit is echoed with an asterisk '*'. As soon as the PIN number has been entered, the third message 'PROCESSING MSG' will be shown.
Protocol
168
The communication protocol sequence is included under the 71 Transfer PIN Block communication protocol.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE