gwenhywfar
5.4.1
|
Modules | |
Textual Input | |
Optical Input (i.e. flicker code) | |
Enumerations | |
enum | GWEN_GUI_PASSWORD_METHOD { GWEN_Gui_PasswordMethod_Unknown =0, GWEN_Gui_PasswordMethod_Mask =0xffff0000, GWEN_Gui_PasswordMethod_Text =0x10000, GWEN_Gui_PasswordMethod_OpticalHHD =0x20000 } |
The pasword entry function is used by homebanking apps/libraries for input of passwords for keyfiles, for pin input and for tan input. FinTS in Germany uses several methods to get a tan; some just ask for transaction number (TAN) from a previously mailed list. Others ask you to hold a special tan generator device to the monitor to let it read a special flicker graphic. Some show an image to the user from which he must derive the tan in some way. Therefore the password entry function needed to be extended to allow for a more generic way to ask the user for a password. Previously, some specific data was included in the text parameter, from which the GUI implementation needed to extract that data (i.e. "$OBEGIN" and "$OEND" for optical data).
Therefore we define methods of pin/tan/password entry here with the matching method parameters.
Password/pin/tan entry method. The method id uses the higher 16 bits of a 32 bit word to define the method. The lower 16 bits are used to define the version of the method. E.g. the method for input using optical data (i.e. flicker code) knows multiple versions, currently 1.3 and 1.4. So the complete method id for optical input method HHD version 1.4 would be 0x20104. Use GWEN_Gui_PasswordMethod_Mask to get the basic method id.
Enumerator | |
---|---|
GWEN_Gui_PasswordMethod_Unknown | |
GWEN_Gui_PasswordMethod_Mask | |
GWEN_Gui_PasswordMethod_Text | |
GWEN_Gui_PasswordMethod_OpticalHHD |