Interactive LePinBlock function

In this function, the application receives the pinblock through a call to the continuation function of the interactive process (ContinuaFuncaoSiTefInterativo).

int LePinblockInterativo (int iCriptoMode, char *lpcCard, char *lpcTuiccs, int iTimeout, char *lpcParamAdic)
void LePinblockInterativoA (char *lpcResult, char *lpcCriptoMode, char *lpcCard, char *lpcTuiccs,
char *lpcTimeout, char *lpcParamAdic)
ParameterTypeStandard interfaceASCII InterfaceDescription
lpcResultOutputNot usedFixed 6 bytesContains the result of the response to the routine call
CryptoModeInputintFixed 1 byteThe same as described in “Table 2 – Parameters for LePinblockDireto”, item 6.1 above
lpcCardInputchar * (null-terminated)Variable (must be passed between delimiters: {}, [], (), or <>)The same as described in “Table 2 – Parameters for LePinblockDireto”, item 6.1 above
lpcTuiccsInputchar * (null-terminated)Variable (must be passed between delimiters: {}, [], (), or <>)The same as described in “Table 2 – Parameters for LePinblockDireto” , item 6.1 above
TimeoutInputintFixed 3 bytesThe same as described in “Table 2 – Parameters for LePinblockDireto”, item 6.1 above
lpcParamAdicInputchar * (null-terminated)Variable
(must be passed between delimiters: {}, [], (), or <>)
The same as described in “Table 2 – Parameters for LePinblockDireto”, item 6.1 above
lpcParamAdicEntrancechar * (null terminated)Variable (must be passed between delimiters: {}, [], (), or <>) The same as described in “Table 2 – Parameters for LePinblockDireto” item 6.1 above

Field returned with pinblock

FieldDescription
153Encrypted pinblock containing the customer's password.
2607Informs the pinblock capture mode in TLV format: 0010011 – pinblock collected with key DES 0010012 – pinblock collected with key 3DES

Table 3 – Field returned by LePinblockInterativo