The text of a manual · part 13 of 23
PINpad 1000SE Reference and Programmers Guide, pages 121 to 130
Pages 121 to 130 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 121
M ASTER /S ESSION M ESSAGE P ACKETS 70 Request PIN Entry
70 Request PIN Entry Causes the PINpad to cycle the display through the following prompts until a PIN is entered: TOTAL $xxxx.xx (Amount of sale from the controller) ENTER PIN PUSH "ENTER"
Category Support Mode
Comments
Standard Communication Packet PINpad 1000
PINpad 1000SE
D
D
After cycling through the display messages and receiving entry of a PIN, the PINpad alternately displays the following two lines until the [CLEAR] key is entered or another packet is sent to the PINpad. PROCESSING PIN PAD
NOTE
If the PINpad device is set as DUKPT, this message packet has been redefined. See DUKPT Message Packets for details of redefinitions. The PINpad device will only execute message 72 Cancel Session Request, while it waits for the customer's PIN entry. Any message packets requesting a PINpad display (e.g., Z2, Display A String) must precede Packet 70 in order for the message to be displayed before PIN entry.
Packet Format
<STX> 70.[account#] <FS> [working key] [amount] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
70 packet type
2
Request PIN Entry
.
hexadecimal
1
Command Delimiter; period: '.' Hex value: '2Eh'
[account#] packet parameter
8-19
Card account number
<FS> packet parameter
1
Field separator; Value: `1Ch'
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
119
Page 122
M ASTER /S ESSION M ESSAGE P ACKETS 70 Request PIN Entry
Type
Field
Length
Description
[working key] packet parameter
16 or 120
[working key] - encrypted working key (encrypted session key) The size of the [working key] indicates which packet format is used. • 16AH - 1DES mode for single length key •
If Zero Key Support is enabled, and if the encrypted working key is all zero-filled, the currently selected master key will be used as the working key.
•
If Zero Key Support mode is disabled, the passed key is used regardless of the encrypted key value.
• 120AH - 3DES mode for Double/Triple
Length Key (including KEY Block Header, Master Key, and MAC) with Empty GISKE Session Key Support. See GISKE Key Block Specification VPN - 22986. [amount] packet parameter
3-7
The amount to be displayed on the PINpad including implicit decimal point
<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 153 characters, minimum 34 characters NOTE
Example
Zero Key Support and Empty GISKE Session Key Support are controlled by a switch in the Key Management Option register which is set using 17 Set Key Management Mode, and checked using 18 Check Key Management Options Register Mode. <STX> 70. 0123456789012345678 <FS> 01234567891234569.99 <ETX>{LRC}
This packet contains an account number of 0123456789012345678, a working key of 0123456789123456, and an amount of $9.99.
Protocol
120
The communication protocol sequence is included under the 71 Transfer PIN Block communication protocol.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 123
M ASTER /S ESSION M ESSAGE P ACKETS 71 Transfer PIN Block
71 Transfer PIN Block Encrypts and sends the customer-entered PIN block to the controller.
Category Support Mode
Standard Communication Packet PINpad 1000
PINpad 1000SE
D
D
Comments
In PINpad 1000 mode, the PINpad sends this packet in response to the request packets 70 Request PIN Entry, Z60 Accept and Encrypt PIN, and Z62 Accept and Encrypt PIN, Display Custom Messages.
NOTE
If the PINpad device is set as DUKPT, this message packet has been redefined. See DUKPT Message Packets for details of redefinitions. After a Packet 71 is sent to the controller, the PINpad waits for an ACK, then reinitializes variables. Therefore, the delay between the ACK and the next message packet (e.g., Z2, Display A String) should be 5ms.
Packet Format
<STX> 71.[func key] [pin length] [01] [pin] <ETX>{LRC}
Elements Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
71 packet
2
Transfer PIN Block
.
hexadecimal
1
Command Delimiter; period: '.' Hex value: '2Eh'
[func key] packet parameter
1
Value is 0 Function key feature not implemented.
[pin length] packet parameter
2
PIN length; range is 00, 04-12
[01] packet parameter
2
Format of PIN block before encryption; value is `01'
[pin] packet parameter
16
64-bit encrypted PIN block represented as 16 hex digits Length is 0 if null PIN is entered.
<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 27 characters, minimum 27 characters
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
121
Page 124
M ASTER /S ESSION M ESSAGE P ACKETS 71 Transfer PIN Block
Example
<STX> 71. 0 12 01 0123456789101112 <ETX>{LRC}
This message packet indicates that the PIN length is 12. NOTE
Protocols
If there is an error, the error message is shown on the PINpad LCD. Details of the PINpad LCD error messages are shown in Prompts and Error Messages. Packet 70 Controller
Transmission Direction
70 packet
------>
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) Cycles through these messages:
<------
TOTAL $xxxx.xx ENTER PIN PUSH "ENTER" Customer enters PIN PINpad displays "*" characters in echo to customer keystrokes.
<-----ACK = LRC OK
Packet 71
------>
NAK = LRC incorrect (EOT after 3 NAKs) <------
Alternately display: PROCESSING PIN PAD
122
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 125
M ASTER /S ESSION M ESSAGE P ACKETS 71 Transfer PIN Block
Packet Z60 Controller
Transmission Direction
Packet Z60
------>
PINpad
ACK = LRC OK NAK = LRC incorrect <------
(EOT after 3 NAKs) Customer enters PIN PINpad displays "*" characters in echo to customer keystrokes.
<-----ACK = LRC OK
Packet 71
------>
NAK = LRC incorrect (EOT after 3 NAKs) Alternately display: PROCESSING PIN PAD
Packet Z62 Controller
Transmission Direction
Packet Z62
------>
PINpad
ACK = LRC OK NAK = LRC incorrect (EOT after 3 NAKs) <------
Alternates the Z62-specified messages. Customer enters PIN PINpad displays "*" characters in echo to customer keystrokes.
<-----ACK = LRC OK
Packet 71
------>
NAK = LRC incorrect (EOT after 3 NAKs) Displays the Z62-specified messages.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
123
Page 126
M ASTER /S ESSION 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 it to the controller.
Category Support Mode
Comments
Custom Communication Packet PINpad 1000
PINpad 1000SE
D
D
This packet must be preceded by a display packet, such as Packet Z2 or Z3, that requests the customer’s PIN number, and also be followed by the PIN transmittal Packet 71. Upon receipt of this packet and the customer PIN number, the PINpad forms a formatted clear-text PIN block, based on the customer account number and PIN number, and encrypts this formatted clear-text PIN block to obtain a cipher-text PIN block to send to the master device via Packet 71 (refer to VISA PIN Processing Specifications, version 2.0, 3/1988). PIN entry is limited to a minimum of 4 digits and a maximum of 12 digits; null entry is not allowed.
NOTE
If the PINpad device is set as DUKPT, this message packet has been redefined. See DUKPT Message Packets for details of redefinitions.
Packet Format
<STX> Z60. [account] <FS> [working key] <ETX> {LRC}
Elements
124
Type
Field
Length
Description
<STX> start of packet
1
ASCII Start of Text Control Character; Value: `02h'
Z60 packet
3
Accept and Encrypt PIN
.
delimiter
1
Command Delimiter; period: '.' Hex value: '2Eh'
[account] packet parameter
8-19
Card Account Number
<FS> packet parameter
1
Field separator
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 127
M ASTER /S ESSION M ESSAGE P ACKETS Z60 Accept and Encrypt PIN
Type
Field
Length
Description
[working key] packet parameter
16 or 120
[working key] - encrypted working key (encrypted session key) The size of the [working key] indicates which packet format is used. • 16AH - 1DES mode for single length key •
If Zero Key Support is enabled, and if the encrypted working key is all zero-filled, the currently selected master key will be used as the working key.
•
If Zero Key Support mode is disabled, the passed key is used regardless of the encrypted key value.
• 120AH - 3DES mode for Double/Triple
Length Key (including KEY Block Header, Master Key, and MAC) with Empty GISKE Session Key Support. See GISKE Key Block Specification VPN - 22986. <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 147 characters, minimum 32 characters NOTE
Example
Zero Key Support and Empty GISKE Session Key Support are controlled by a switch in the Key Management Option register which is set using 17 Set Key Management Mode, and checked using 18 Check Key Management Options Register Mode. <STX> Z60.0123456789012345678 <FS> 0123456789123456 <ETX>{LRC}
This packet contains an account number of 0123456789012345678 and a working key of 0123456789123456.
Protocol
The communication protocol sequence is included under the 71 Transfer PIN Block communication protocol.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
125
Page 128
M ASTER /S ESSION M ESSAGE P ACKETS Z62 Accept and Encrypt PIN, Display Custom Messages
Z62 Accept and Encrypt PIN, Display Custom Messages Directs the PINpad device to alternate up to two messages, accept customer PIN, create and encrypt the PIN block, then display the specified processing message after transmitting the PIN block to the controller.
Category Comments
Custom Communication Packet The PINpad echoes the customer PIN entry with asterisks on the display. Packet Z62 adds the capability to specify up to two display messages or prompts before PIN entry, specify the PIN length, allow null PIN entry, and specify display processing message after the PIN entry.
NOTE
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.
NOTE
If the PINpad device is set as DUKPT, this message packet has been redefined. See DUKPT Message Packets for details of redefinitions.
Packet Format
<STX> Z62.[account#] <FS> [working key] [min pin] [max pin] [null flag] [message1] <FS> [message2] <FS> [process msg] <ETX>{LRC}
Elements
126
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
.
delimiter
1
Command Delimiter; period: '.' Hex value: '2Eh'
[account] numeric
8-19
Card account number
<FS> field separator
1
Field separator
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
Page 129
M ASTER /S ESSION M ESSAGE P ACKETS Z62 Accept and Encrypt PIN, Display Custom Messages
Type
Field
Length
Description
[working key] packet parameter
16 or 120
[working key] - encrypted working key (encrypted session key) The size of the [working key] indicates which packet format is used. • 16AH - 1DES mode for single length key •
If Zero Key Support is enabled, and if the encrypted working key is all zero-filled, the currently selected master key will be used as the working key.
•
If Zero Key Support mode is disabled, the passed key is used regardless of the encrypted key value.
• 120AH - 3DES mode for Double/Triple
Length Key (including KEY Block Header, Master Key, and MAC) with Empty GISKE Session Key Support. See GISKE Key Block Specification VPN - 22986. [min pin] packet parameter
2
Minimum Acceptable PIN length; Range is 04-12
[max pin] packet parameter
2
Maximum Acceptable PIN length; Range is 04-12
[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> field separator
1
Field separator. Optional, only present when next message follows
[message2] packet parameter
0-16
Message to alternate with [message1] until customer presses key (UDC function is supported in this packet)
<FS> field separator
1
Field separator. Optional, only present when next message follows
[process msg] 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 39 characters PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE
127
Page 130
M ASTER /S ESSION M ESSAGE P ACKETS Z62 Accept and Encrypt PIN, Display Custom Messages
NOTE
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.
NOTE
Zero Key Support and Empty GISKE Session Key Support are controlled by a switch in the Key Management Option register which is set using 17 Set Key Management Mode, and checked using 18 Check Key Management Options Register Mode.
Examples
<STX> Z62. 4000000000006 <FS> 0123456789ABCDEF 04 12 Y THANKYOU<FS> PLEASE ENTER PIN <FS> PLEASE WAIT <ETX>{LRC}
Upon receipt of this packet, the PINpad alternately displays THANKYOU and PLEASE ENTER PIN until the customer presses the first key. The customer can skip entering the PIN (nulls allowed) by pressing [ENTER]. Otherwise, the PIN entry must be four to twelve digits long. After PIN entry, until the master device responses to the Packet 71 (such as, an <ACK> ) in response to the encryption block, the PINpad displays PLEASE WAIT. <STX> Z62. 4000000000006 <FS> 0123456789ABCDEF 06 08 N <FS> MESSAGE2 <FS> PROCESSING <ETX>{LRC}
Upon receipt of this packet, the PINpad alternately displays ‘blank’ (MESSAGE1) and MESSAGE2 until the customer enters a 6-8 digit PIN number, followed by the ENTER key, with no null PIN entry allowed. After PIN entry, until the master device responses to the Packet 71 (such as, an <ACK> ) in response to the encryption block, the PINpad displays PROCESSINGMSG. NOTE
The Rev. 0I and earlier PP101 won't display "blank" for example 2.
<STX> Z62. 4000000000006 <FS> 0123456789ABCDEF 06 08 N MESSAGE1<ETX>{LRC}
Upon receipt of this packet, the PINpad displays MESSAGE1 (with no alternating message) until the customer enters a 6-8 digit PIN number, followed by the ENTER key, with no null PIN entry allowed. After PIN entry, until the master device responses to the Packet 71 (such as, an <ACK> ) in response to the encryption block, the PINpad displays a blank screen processing message.
Protocol
128
The communication protocol sequence is included under the 71 Transfer PIN Block communication protocol.
PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE