public class BeIDCardUIAdapter extends Object implements BeIDCardUI
Constructor and Description |
---|
BeIDCardUIAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
advisePINBlocked()
too many tries.
|
void |
advisePINChanged()
PIN was changed successfully
|
void |
advisePINPadChangePIN(int retriesLeft)
user can change PIN (old, new, new-again) on PIN Pad
|
void |
advisePINPadNewPINEntry(int retriesLeft)
user can enter new PIN on PINPad
|
void |
advisePINPadNewPINEntryAgain(int retriesLeft)
user can enter new PIN on PINPad again
|
void |
advisePINPadOldPINEntry(int retriesLeft)
user can enter old PIN on PINPad
|
void |
advisePINPadOperationEnd()
one of the above PINPad operation ends
|
void |
advisePINPadPINEntry(int retriesLeft,
PINPurpose purpose,
String applicationName)
user can enter PIN on Secure PINPad
|
void |
advisePINPadPUKEntry(int retriesLeft)
user can enter PUK on PINPad
|
void |
advisePINUnblocked()
PIN unblock operation was successful.
|
void |
adviseSecureReaderOperation()
user needs to attend some operation on a secure reader (more instuctions
are available from the reader's own user interface)
|
void |
adviseSecureReaderOperationEnd()
operation on secure reader ends
|
Locale |
getLocale()
get the Locale currently set.
|
char[][] |
obtainOldAndNewPIN(int triesLeft)
get Old and New PIN from the user.
|
char[] |
obtainPIN(int triesLeft,
PINPurpose type,
String applicationName)
get PIN from the user
|
char[][] |
obtainPUKCodes(int triesLeft)
get PUK Codes from the user (PIN unblock)
|
void |
setLocale(Locale newLocale)
set Locale for subsequent operations.
|
protected Locale locale
public char[] obtainPIN(int triesLeft, PINPurpose type, String applicationName) throws UserCancelledException
BeIDCardUI
obtainPIN
in interface BeIDCardUI
triesLeft
- the number of attempts left before the PIN is blocked.type
- the reason why the PIN code is requestedapplicationName
- the optional application name.UserCancelledException
- thrown in case the user cancels the PIN entry.public char[][] obtainOldAndNewPIN(int triesLeft)
BeIDCardUI
obtainOldAndNewPIN
in interface BeIDCardUI
triesLeft
- the number of attempts left before the PIN is blocked.public char[][] obtainPUKCodes(int triesLeft)
BeIDCardUI
obtainPUKCodes
in interface BeIDCardUI
triesLeft
- the number of attempts left before the card is blocked.public void advisePINChanged()
BeIDCardUI
advisePINChanged
in interface BeIDCardUI
public void advisePINBlocked()
BeIDCardUI
advisePINBlocked
in interface BeIDCardUI
public void advisePINUnblocked()
BeIDCardUI
advisePINUnblocked
in interface BeIDCardUI
public void advisePINPadPINEntry(int retriesLeft, PINPurpose purpose, String applicationName)
BeIDCardUI
advisePINPadPINEntry
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the PIN is blocked.purpose
- the reason why the PIN code is requestedapplicationName
- the optional application name.public void advisePINPadPUKEntry(int retriesLeft)
BeIDCardUI
advisePINPadPUKEntry
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the card is blocked.public void advisePINPadChangePIN(int retriesLeft)
BeIDCardUI
advisePINPadChangePIN
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the PIN is blocked.public void advisePINPadOldPINEntry(int retriesLeft)
BeIDCardUI
advisePINPadOldPINEntry
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the PIN is blocked.public void advisePINPadNewPINEntry(int retriesLeft)
BeIDCardUI
advisePINPadNewPINEntry
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the PIN is blocked.public void advisePINPadNewPINEntryAgain(int retriesLeft)
BeIDCardUI
advisePINPadNewPINEntryAgain
in interface BeIDCardUI
retriesLeft
- the number of attempts left before the PIN is blocked.public void advisePINPadOperationEnd()
BeIDCardUI
advisePINPadOperationEnd
in interface BeIDCardUI
public void adviseSecureReaderOperation()
BeIDCardUI
adviseSecureReaderOperation
in interface BeIDCardUI
public void adviseSecureReaderOperationEnd()
BeIDCardUI
adviseSecureReaderOperationEnd
in interface BeIDCardUI
public void setLocale(Locale newLocale)
BeIDCardUI
setLocale
in interface BeIDCardUI
public Locale getLocale()
BeIDCardUI
getLocale
in interface BeIDCardUI
Copyright © 2012–2024 e-Contract.be BV. All rights reserved.