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 9 of 23

PINpad 1000SE Reference and Programmers Guide, pages 81 to 90

Pages 81 to 90 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 81

M ANAGEMENT P ACKETS MACed Z3 Display Rotating Messages

MACed Z3 Display Rotating Messages Directs the PINpad device to display up to seven messages or prompts in rotation and provides MAC message authentication capabilities. NOTE

See Non-MACed Z2/Z3 Message Matching Rules for details on MAC message authentication. See Z40 Request Key Code/Z41 Return Key Code, Z42 Request Key Value/Z43 Return Key Value, and Z50 Request String Input/Z51 Return String Input for more details on validating MACing and how that affects the return of keystrokes from the PINpad to the controller.

Category

Custom Communication Packet

Support Mode

NOTE

PINpad 1000

PINpad 1000SE

D

D

This packet is only available in version 4E3002x and later releases of the firmware. If in PINpad 1000 mode, the PINpad ignores any MAC data and returns 0 (no error).

Comments

Up to seven prompts or messages can be displayed in rotation. The PINpad device displays the message strings at 3-second intervals until it receives another message or the customer presses [CLEAR].

NOTE

The message must remain intact upon receipt of Packets Z40, Z42, Z50, and Z60.

The MAC will be calculated using a selected MAC key. This MAC key will be used to calculate an Outer CBC MAC with an IV of 0x0000000000000000. If the prompt data is not on an even 8-byte boundary, the last block will be right-padded with 0x30's. The four left most bytes (8 hex digits) of the resulting cryptogram will be used for the MAC value. NOTE

The MAC key used to verify this packet must be 112 bits in length to meet the November, 2003 Visa PED requirements and must also be tagged as a MAC verification key.

•

Version 4E3003x and later releases of the firmware enforce the 112-bit MAC key rule.

•

Appropriate algorithms and key sizes will change slowly over time, as computing capability expands to make brute force attacks more feasible. PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

79

Page 82

M ANAGEMENT P ACKETS MACed Z3 Display Rotating Messages

NOTE

Request Format

Use message lengths of no more than 16 characters per message. If longer messages are used, the display will only show the last 16 characters entered and any extra characters will be ignored. <STX> Z3 <FS> <MKI> <MV> <N> <SUB> <message> <ETX>{LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z3 packet type

2

Display Rotating Messages

<FS> packet parameter

1

Field separator; Value: ‘1Ch'

[MKI] packet parameter

1

MAC Key Index; Select Key from keys 0-F

[MV] packet parameter

8

Mac Value; the eight left most digits of the MAC calculation

[N] packet parameter

1

Number of Messages: 0-7

<SUB> message parameter

1

Optional; Clears display Value: `1Ah'

[message 1] packet parameter

0-16

First message to display format is ASCII (not counted string)

<FS> packet parameter

1

Field separator; Value: ‘1Ch'

[message2...n] packet parameter

0-16

Next message to display (up to 7 messages); each message separated by <FS>

<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 16 characters NOTE

Example Request

The User Definable Character (UDC) function is supported in this packet for [message]. 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> Z3 <FS> <MKI> 81762593 3 <SUB> AB <FS> <FS> CD <ETX>{LRC}

This packet causes the PINpad to display the message 'AB' first, then a blank display, then 'CD,' and then redisplays the messages, starting over from the ‘AB’ message. This continues until the CLEAR key is pressed or another packet is received, with the exception of Packets Z40, Z42, Z50, and Z60.

80

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 83

M ANAGEMENT P ACKETS MACed Z3 Display Rotating Messages

Response Format

<STX> Z3 <R> <ETX> {LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z3 packet type

2

Display a String

[R] packet parameter

1

Z3 Response • 0 = No Error • 1 = MAC Key index error • 2 = MAC key attributes error • 3 = MAC value error • 4 = Packet format error

<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

Example Response Further Examples

<STX> Z3 0 <ETX> {LRC}

Examples of Z3 packets with MAC values: MAC key value used to compute the following MAC values: 6AC292FAA1315B4D8234B3A3D7D5933A

MAC algorithm used to compute the following MAC values: "10"(ISO 9797-1 MAC Algorithm 1 - 112 bits)

Packet format: <STX>Z3<FS>kvvvvvvvvn<SUB>prompt1<FS>prompt2<ETX>

• k = MAC Key index

• v = The four leftmost bytes of the MAC calculation converted to hex ascii

• n = Number of messages

•

The prompt may contain a user definable character (<US>xxxx)

<STX>Z3<FS>386A200932<SUB>MESSAGE ONE 1<FS>MESSAGE TWO 2<ETX> <STX>Z3<FS>386A200932<SUB> MESSAGE ONE 1.0<FS>MESSAGE TWO 2.0 <ETX> <STX>Z3<FS>386A200932<SUB> MESSAGE 1.0 ONE<FS>MESSAGE 2.0 TWO <ETX>

Data MACed - <SUB>MESSAGEONE<FS>MESSAGETWO00

Padding 00

NOTE

The MAC value is the same for the above Z3 packets.

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

81

Page 84

M ANAGEMENT P ACKETS MACed Z3 Display Rotating Messages

Protocol Controller

Transmission Direction

Z3 request packet

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

PINpad

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

<------

Z3 response packet clear display, then cycles through [message 1], [message 2]...

ACK = LRC OK

------>

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

82

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

EOT

Page 85

M ANAGEMENT P ACKETS Z7 Turn on/off CANCEL REQUESTED

Z7 Turn on/off CANCEL REQUESTED Disables (turn off) or enables (turn on) the CANCEL REQUESTED prompt.

Category Comments

Packet Format

Custom Communication Packet When the controller sends message Packet Z7, the PINpad either displays or does not display the CANCEL REQUESTED message when [CLEAR] is entered or when the controller requests a cancel termination. <STX> Z7 [flag] <ETX>{LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z7 packet type

2

Turn on/off CANCEL REQUESTED

[flag] packet parameter

1

Cancel Request Flag Range: • 0 = Show message • 1 = Do not show message

<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

Example

<STX> Z71 <ETX>{LRC}

Disable CANCEL REQUESTED message.

Protocol Controller

Transmission Direction

Z7 packet

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

PINpad

ACK = LRC OK NAK = LRC incorrect Turns on/off prompt

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

83

Page 86

M ANAGEMENT P ACKETS Z8 Reset/Set Idle Prompt

Z8 Reset/Set Idle Prompt Sets or resets the PINpad device idle prompt display.

Category Comments Packet Format

Custom Communication Packet To reset the PINpad device idle prompt, send Packet Z8 with a null string. The PINpad unit will display a cycling arrow at idle. <STX> Z8 [prompt] <ETX>{LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z8 packet type

2

Reset/Set Idle Prompt

[prompt] packet parameter

0-16

Prompt to display when idling

<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 21 characters, minimum 5 characters

Example

<STX> Z8 <ETX>{LRC}

This message packet does not include the display specification; it directs the PINpad to display the cycling arrow.

Protocol Controller

Transmission Direction

Z8 packet

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

PINpad

ACK = LRC OK NAK = LRC incorrect idle prompt displays

84

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 87

M ANAGEMENT P ACKETS Z10 Load Prompt Table

Z10 Load Prompt Table Loads a new prompt table to PINpad RAM. NOTE

Category

This packet is only available in version 4E3002x and later releases of the firmware. Custom Communication Packet

Support Mode

PINpad 1000

PINpad 1000SE

D

D

In PINpad 1000 mode, Packet Z10 has no real relevance: the RAM table contained in the packet is ignored. The response packet is a "no error" packet (return code '0') but the packet data is NOT loaded into RAM.

Comments

NOTE

This packet must be MACed using a selected Master key as the MAC key. This MAC key will use the ANSI/ISO MACing algorithms for MACing, available as indicated by the GISKE Key Usage attributes. See GISKE Key Block Specification VPN - 22986 for details of MAC algorithms. The MAC key used to verify this packet must be 112 bits in length to meet the November, 2003 Visa PED requirements and must also be tagged as a MAC verification key.

•

Version 4E3003x and later releases of the firmware enforce the 112-bit MAC key rule.

•

Appropriate algorithms and key sizes will change slowly over time, as computing capability expands to make brute force attacks more feasible.

Data fields need to be MACed including the "prompt message" and the field separator. Valid prompt text characters for MACing over are any characters in the range 'A' - 'Z' (0x41 - 0x5A) and user definable characters (UDCs) (eg: <US>4E72, all five characters need to be MACed). Empty text in any message block is NOT allowed. If the last MAC input is not on an even 8-byte boundary, the last block will be right-padded with 0x30's. The four left most bytes (8 hex digits) of the resulting cryptogram will be used for the MAC value. The PINpad internally allocates one control byte for each prompt text. This control byte is used to indicate the length of the prompt text. NOTE

Request Format

This packet will overwrite the existing prompt table in the RAM if no error is detected. <STX> Z10 [MKI] [MV] <FS> [prompt message 1] <FS> [prompt message 2] <ETX>{LRC} PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

85

Page 88

M ANAGEMENT P ACKETS Z10 Load Prompt Table

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z10 packet type

3

Load Prompt Table

[MKI] packet parameter

1

Master Key used to do the MACing

[MV] packet parameter

8

The four leftmost bytes (8 digits) of the MAC calculation

<FS> packet parameter

1

Field separator; Value: ‘1Ch'

[prompt message 1] packet parameter

1-16

First prompt message text

<FS> packet parameter

1

Field separator; Value: ‘1Ch'

[prompt message2...n] packet parameter

1-16

Next prompt message to display; each message separated by <FS>

<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 17 characters (with one byte in the prompt table)

Response Format

<STX> Z10 <R> <ETX> {LRC}

Elements Type

Field

Length

Description

<STX> start of packet

1

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

Z10 packet type

3

Load Prompt Table Reponse

[R] packet parameter

1

Z10 Response • 0 = No Error • 1 = MAC Key index error • 2 = MAC key attributes error • 3 = MAC value error • 4 = Packet format error • 5 = Repeat Message error (a message appears twice or more in the Z10 packet) <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 7 characters, minimum 7 characters

Example Response

86

<STX> Z10 0 <ETX> {LRC}

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

Page 89

M ANAGEMENT P ACKETS Z10 Load Prompt Table

Examples

Example of Z10 packet: MAC key value used to compute the following MAC values: 6AC292FAA1315B4D8234B3A3D7D5933A

MAC algorithm used to compute the following MAC values: "10"(ISO 9797-1 MAC Algorithm 1 - 112 bits)

Packet format: <STX>Z10kvvvvvvvv<FS>prompt1<FS>prompt2<FS>prompt3<ETX>

• k = MAC Key index

• v = The four leftmost bytes of the MAC calculation converted to hex ascii

•

The prompt may contain a user definable character (<US>xxxx)

<STX>Z1035C5CD64A<FS>ENTERTELNUMBER<FS>ENTERSSNNUMBER <FS>UDCHR<US>8A12<US>4A72STOP<FS>ENTERVEHICLE<ETX>

Data MACed <FS>ENTERTELNUMBER<FS>ENTERSSNNUMBER<FS>UDCHR<US>8A12<US>4A72STOP <FS>ENTERVEHICLE0 Padding 0

Protocol Controller

Transmission Direction

Z10 request packet

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

PINpad

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

<-----ACK = LRC OK

Z10 response packet

------>

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

EOT

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE

87

Page 90

M ANAGEMENT P ACKETS Z40 Request Key Code

Z40 Request Key Code Requests entry of the key code representing a key from the PINpad. NOTE

This packet does not change the PINpad device display.

Category

Custom Communication Packet

Support Mode

PINpad 1000

PINpad 1000SE

D

D

NOTE

Extended message validation functionality is only available in version 4E3002x and later releases of the firmware, and depends on the security status of Packets Z2 and Z3. For further details on this application, please refer to the Prompt Table for Z2/Z3 Authentication.

Comments

The controller sends this packet after the PINpad device has displayed one or more messages requesting the customer's key entry (Packets Z2 or Z3). This packet also specifies how long the PINpad device has to wait for the input before a timeout.

•

If no key is pressed before the timeout, the PINpad returns to its idle state.

•

If a key is pressed before the timeout, the PINpad sends the ASCII key code to the controller.

See Z41 Return Key Code for details on how the PINpad unit responds to the Z40 request. The PINpad unit does not echo the input on its display. NOTE

Packet Format

88

Rev. 0I and earlier versions of PP101 required a full three-digits value for [timeout]. Later versions allow one to three digits (i.e. 1, 01, and 001 all signify a one-second timeout value). <STX> Z40 [timeout] <ETX>{LRC}

PINPAD 1000SE REFERENCE AND PROGRAMMERS GUIDE