|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.icard.common.auth.callback.PinCodeCallback
| Constructor Summary | |
|---|---|
PinCodeCallback(String prompt)
Construct a PinCodeCallback with a prompt and a boolean
specifying whether the PIN code should be displayed as it is being typed. |
|
| Method Summary | |
|---|---|
void |
clearPin()
Clear the retrieved PIN code. |
byte[] |
getPin()
Get the retrieved PIN code. |
String |
getPrompt()
Get the prompt. |
boolean |
isEchoOn()
Return whether the PIN code should be displayed as it is being typed. |
void |
setPin(byte[] pin)
Set the retrieved PIN code. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PinCodeCallback(String prompt)
PinCodeCallback with a prompt and a boolean
specifying whether the PIN code should be displayed as it is being typed.
prompt - the prompt used to request the PIN code.
IllegalArgumentException - if prompt is null or if prompt
has a length of 0.| Method Detail |
public String getPrompt()
public boolean isEchoOn()
public void setPin(byte[] pin)
This method makes a copy of the input pin before storing it.
getPin()public byte[] getPin()
This method returns a copy of the retrieved PIN code.
setPin(byte[])public void clearPin()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||