Obtaining the Open Password
This function returns the open password from an encrypted password, obtained in the LeSenhaInterativo or LeSenhaDireto routines and the Security Key obtained in the ObtemChaveSeguranca routine.
ASCII interface
Parameter | Type | Standard Interface | ASCII Interface | Description |
---|---|---|---|---|
Result | Output, by value | Not used | Fixed 6 | Contains the result of the response to the routine call. |
KeyOpening | Entry, by value | char* | 32 | Opening secret key provided by Software Express, which allows open password capture. |
Security Key | Entry, by value | char* | 64 | Security key used to capture the password. |
PasswordCrypt | Entry, by value | char* | Variable where the open password is returned | |
SizeMaxOpenPassword | Entry, by value | char* | 6 | Maximum size of the buffer where the open password is returned. |
The routine returns a non-zero value on error, or zero (0) on success.
If successful, the OpenPassword parameter will contain the value of the password collected on the pinpad.