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

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

IPP MS
DUKPT C
AND
OMMUNICATIONS
Common Packets
312
M
X
800 S
P
ERIES
ROGRAMMERS
P
ACKETS
Table 48
Packet Z63 Format (Continued)
Data Elements
Characteristics
<FS>
1H
[www...www]
16AH or 120AH
[min len]
2N
[max len]
2N
[Null PIN allowed]
1A
[echo char]
1AN
<ETX>
1H
{LRC}
1H

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> invalid MIN, MAX, echo character, or null PIN flag
PIN entry too fast.
See
Restrict the Speed of the PIN Encryption
G
UIDE
Comments
Field Separator; Value: 1Ch
Encrypted working key or (encrypted
session key) DUKPT. DUKPT
ENCRYPTION means DUKPT is
ENCRYPTION selected. Otherwise, it is
the working key of MS encrypted under
the master key. GISKE is used here for
3DES session key support.
Size of [www...www] indicates which
packet format is used:
16AH: 1DES, key-only format
120AH: GISKE key block format. For
more details on GISKE refer GISKE
Key Block Spec, VPN 22986.
(1DES only) If zero key support is
enabled and the encrypted working key
is zero-filled, the currently selected
master key is used as the working key.
(1DES only) If zero key support mode is
disabled, the passed key is used
regardless of the encrypted key value.
Zero GISKE session key support for
GISKE key block format communication
protocol. (see Using a Session Key).
Zero key support and zero GISKE
session key support are controlled by a
switch in the key management option
register set using packet 17 and
checked using packet 18.
Minimum PIN length. 04–12
Maximum PIN length. 04–12
Null (zero length) PIN allowed. Y or N.
Echo character.
End of Text, Value: 03h
Error Check
errno
EINVAL
EACESS
Operation.

Advertisement

Table of Contents
loading

Table of Contents