Errors Returned By Write(); Response - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

DUKPT Packet 75:
DUKPT Accept and
Encrypt PIN/Data
Authentication

Response

DUKPT Packet 75
Length:

Errors returned by write()

Some packet format errors are caught when the packet is written to the IPP. In this
case, write() returns –1 and errno set. The packet is not ACKed or NAKed, and
no response packet returns.
Z60 Format Error
No <FS>
Response packet to packet
Authentication Request
Authentication Test Request
Authentication code #1 is the MAC on this message. If the request is approved,
the MAC received with the approval response message exactly matches
authentication code #2. If the request is declined, the MAC received with the
decline response message must exactly match authentication code #3.
Table 83
DUKPT Packet 75 Format
Data Element
Characteristic
<STX>
1H
Packet Type
2AN
[Auth. Code #1]
8H
[Auth. Code #2]
8H
[Auth. Code #3]
8H
Function Key
1N
Key Serial
10–20H
Number
Encrypted PIN
16H
Block
<ETX>
1H
1H
{LRC}
MAX: 57 characters
MIN: 67 characters
IPP MS
DUKPT Z69 Packet: Accept and Encrypt PIN / Data
or
Packet 78: DUKPT Accept and Encrypt PIN/Data
to the controller with confirmation status.
Comments
Start of text, value: 02h
Value: 75
Authentication code #1, message MAC
In ANSI mode, Auth Code is padded with all 0s
(0x30h).
Authentication code #2, transaction approved
check value
In ANSI mode, Authentication Code #2 is the left
4 bytes of the MAC value.
Authentication code #3, transaction declined
check value
In ANSI mode, Authentication Code #3 is the
right 4 bytes of the MAC value.
Value is 0, Function Key Indicator feature not
implemented
Hexadecimal (leading Fs suppressed.);
Included only if PIN entered; Length is 0 if no PIN
entered
The 64 bit encrypted PIN block represented as
16 hexadecimal digits.
Length is 0, if no PIN entered.
End of text, value: 03h
Error check character
DUKPT C
AND
OMMUNICATIONS
Packet 25: Check the DUKPT Engine
errno
EINVAL
X
M
800 S
P
ERIES
ROGRAMMERS
P
ACKETS
333
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents