|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acs.smartcard.ReadKeyOption
public class ReadKeyOption
This class represents READ_KEY_OPTION structure in ACR83/APG8201 reader.
Constructor Summary | |
---|---|
ReadKeyOption()
Creates an instance of ReadKeyOption. |
|
ReadKeyOption(int timeOut,
int pinMaxExtraDigit,
int keyReturnCondition,
int echoLcdStartPosition,
int echoLcdMode)
Creates and initializes an instance of ReadKeyOption. |
Method Summary | |
---|---|
int |
getEchoLcdMode()
Gets the LCD echo mode. |
int |
getEchoLcdStartPosition()
Gets the LCD starting position. |
int |
getKeyReturnCondition()
Gets the key return condition. |
int |
getPinMaxExtraDigit()
Gets the PIN max extra digit. |
int |
getTimeOut()
Gets the timeout. |
void |
setEchoLcdMode(int echoLcdMode)
Sets the LCD echo mode. |
void |
setEchoLcdStartPosition(int echoLcdStartPosition)
Sets the LCD starting position. |
void |
setKeyReturnCondition(int keyReturnCondition)
Sets the key return condition. |
void |
setPinMaxExtraDigit(int pinMaxExtraDigit)
Sets the PIN max extra digit. |
void |
setTimeOut(int timeOut)
Sets the timeout. |
byte[] |
toByteArray()
Converts the ReadKeyOption to the byte array. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReadKeyOption()
public ReadKeyOption(int timeOut, int pinMaxExtraDigit, int keyReturnCondition, int echoLcdStartPosition, int echoLcdMode)
timeOut
- the timeout value in seconds. If 00h then default value is
used.pinMaxExtraDigit
- the PIN max extra digit (XXYYh). XX: Minimum PIN size in digit
YY: Maximum PIN size in digitkeyReturnCondition
- the key return condition. The value is a bit wise OR
operation. 01h: Max size reached. 02h: Key [E] pressed. 04h:
Timeout occurred. 08h: Key [C] pressed. 10h: Key [<-] pressed.
20h: Key [FN] pressed. 40h: Smart Card out detected. (if
enable, no key will be returned.)echoLcdStartPosition
- the LCD starting position. The value is from 0 from 31.echoLcdMode
- the LCD echo mode. 00h: Echo key press data ASCII
representation to LCD. 01h: Display all key presses as
asterisks “*” on LCD. 02h: No echo.Method Detail |
---|
public int getTimeOut()
public void setTimeOut(int timeOut)
timeOut
- the timeout.public int getPinMaxExtraDigit()
public void setPinMaxExtraDigit(int pinMaxExtraDigit)
pinMaxExtraDigit
- the PIN max extra digit.public int getKeyReturnCondition()
public void setKeyReturnCondition(int keyReturnCondition)
keyReturnCondition
- the key return condition.public int getEchoLcdStartPosition()
public void setEchoLcdStartPosition(int echoLcdStartPosition)
echoLcdStartPosition
- the LCD starting position.public int getEchoLcdMode()
public void setEchoLcdMode(int echoLcdMode)
echoLcdMode
- the LCD echo mode.public byte[] toByteArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |