IPP LEGACY LIBRARY
ipp_getpin()
M
X
800 SERIES PROGRAMMERS GUIDE 217
ipp_getpin()
This command passes the appropriate parameters to define PIN entry.
Prototype
result = ipp_getpin(key_type, disp_line, min_pin_len, max_pin_len,
zero_pin_ok, max_time, pan, working_key, master_key);
int result, key_type, max_time, master_key;
char dsp_line, min_pin_len, max_pin_len, zero_pin_ok,
*working_key, *pan);
Parameters
key_type 0 for Master Key Management, 1 for DUKPT
dsp_line
Not used on the M
x
800 series of terminals.
min_pin_len minimum length of the PIN (4 .. max_pin_len)
max_pin_len maximum length of the PIN (min_pin_len ..12)
zero_pin_len 0 - not permitted, 1 - permitted
max_time 1...300 max time in seconds for timeout abort
pan
working_key
master_key 1 character: (0...9) in case of Master Key Session, (0...2) in case of
DUKPT to select DUKPT engine.
pointer to Personal Account Number
8...19 characters - null terminated
1DES
Mode
16 characters - null terminated in case of Master Key
Session, ignored in case of DUKPT.
3DES
Mode
120 characters - null terminated, GISKE data block
in case of Master Key Session, ignored in case of
DUKPT.