|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opencard.core.terminal.CHVControl
Determine the characteristics of a card holder verification.
Constructor Summary | |
CHVControl(java.lang.String prompt,
int chvNumber,
java.lang.String passwordEncoding,
int passwordOffset,
CardTerminalIOControl ioControl)
The constructor setting all fields. |
|
CHVControl(java.lang.String prompt,
java.lang.String applicationID,
java.lang.String passwordEncoding,
int passwordOffset,
CardTerminalIOControl ioControl)
The constructor setting all fields. |
Method Summary | |
java.lang.String |
applicationID()
Get the application ID string. The application ID gives the user information on the application he is expected to give card holder verification for. |
int |
chvNumber()
Get the chvNumber for which a CHV is required. |
CardTerminalIOControl |
ioControl()
Get the I/O control parameters. |
java.lang.String |
passwordEncoding()
Get the password encoding. The password encoding defines the method to obtain the byte array from the String read from the user. |
int |
passwordOffset()
Offset of the password in the body of the command APDU |
java.lang.String |
prompt()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CHVControl(java.lang.String prompt, java.lang.String applicationID, java.lang.String passwordEncoding, int passwordOffset, CardTerminalIOControl ioControl)
prompt
- a string to be displayed to ask the user to enter
his passwordapplicationID
- an identification to tell the user which application
needs CHVpasswordEncoding
- identification of the encoder to convert the
password String to a byte arraypasswordOffset
- offset of the password within the body of the
verify APDUioControl
- parameters for keyboard inputpublic CHVControl(java.lang.String prompt, int chvNumber, java.lang.String passwordEncoding, int passwordOffset, CardTerminalIOControl ioControl)
prompt
- a string to be displayed to ask the user to enter
his passwordchvNumber
- number of CHV to be requested from the userpasswordEncoding
- identification of the encoder to convert the password
String to a byte arraypasswordOffset
- offset of the password within the body of the
verify APDUioControl
- parameters for keyboard inputMethod Detail |
public java.lang.String prompt()
public java.lang.String applicationID()
The application ID gives the user information on the application he is expected to give card holder verification for.
public int chvNumber()
public java.lang.String passwordEncoding()
The password encoding defines the method to obtain the byte array from the String read from the user. The default is to use the default encoding of the machine.
public int passwordOffset()
public CardTerminalIOControl ioControl()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |