|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.acs.smartcard.PinVerify
public class PinVerify
This class represents PIN_VERIFY structure in PC/SC 2.0 Part 10.
| Constructor Summary | |
|---|---|
PinVerify()
Creates an instance of PinVerify. |
|
PinVerify(int timeOut,
int timeOut2,
int formatString,
int pinBlockString,
int pinLengthFormat,
int pinMaxExtraDigit,
int entryValidationCondition,
int numberMessage,
int langId,
int msgIndex,
int teoPrologue0,
int teoPrologue1,
int teoPrologue2,
byte[] data,
int dataLength)
Creates and initializes an instance of PinVerify. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Gets the data. |
int |
getEntryValidationCondition()
Gets the entry validation condition. |
int |
getFormatString()
Gets the format string. |
int |
getLangId()
Gets the language ID. |
int |
getMsgIndex()
Gets the message index. |
int |
getNumberMessage()
Gets the number message. |
int |
getPinBlockString()
Gets the PIN block string. |
int |
getPinLengthFormat()
Gets the PIN length format. |
int |
getPinMaxExtraDigit()
Gets the PIN max extra digit. |
int |
getTeoPrologue(int index)
Gets the T1 prologue. |
int |
getTimeOut()
Gets the timeout. |
int |
getTimeOut2()
Gets the timeout2. |
void |
setData(byte[] data,
int dataLength)
Sets the data. |
void |
setEntryValidationCondition(int entryValidationCondition)
Sets the entry validation condition. |
void |
setFormatString(int formatString)
Sets the format string. |
void |
setLangId(int langId)
Sets the language ID. |
void |
setMsgIndex(int msgIndex)
Sets the message index. |
void |
setNumberMessage(int numberMessage)
Sets the number message. |
void |
setPinBlockString(int pinBlockString)
Sets the PIN block string. |
void |
setPinLengthFormat(int pinLengthFormat)
Sets the PIN length format. |
void |
setPinMaxExtraDigit(int pinMaxExtraDigit)
Sets the PIN max extra digit. |
void |
setTeoPrologue(int index,
int teoPrologue)
Sets the T1 prologue. |
void |
setTimeOut(int timeOut)
Sets the timeout. |
void |
setTimeOut2(int timeOut2)
Sets the timeout2. |
byte[] |
toByteArray()
Converts the PinVerify to the byte array. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PinVerify()
public PinVerify(int timeOut,
int timeOut2,
int formatString,
int pinBlockString,
int pinLengthFormat,
int pinMaxExtraDigit,
int entryValidationCondition,
int numberMessage,
int langId,
int msgIndex,
int teoPrologue0,
int teoPrologue1,
int teoPrologue2,
byte[] data,
int dataLength)
timeOut - the timeout in seconds (00 means use default timeout).timeOut2 - the timeout in seconds after first key stroke.formatString - the formatting options USB_CCID_PIN_FORMAT_xxx.pinBlockString - the PIN block string. bits 7-4 bit size of PIN length in APDU,
bits 3-0 PIN block size in bytes after justification and
formatting.pinLengthFormat - the PIN length format. bits 7-5 RFU, bit 4 set if system units
are bytes clear if system units are bits, bits 3-0 PIN length
position in system units.pinMaxExtraDigit - the PIN max extra digit. XXYY, where XX is minimum PIN size in
digits, YY is maximum.entryValidationCondition - the conditions under which PIN entry should be considered
complete.numberMessage - the number of messages to display for PIN verification.langId - the language for messages.msgIndex - the message index (should be 00).teoPrologue0 - T=1 I-block prologue field to use (fill with 00).teoPrologue1 - T=1 I-block prologue field to use (fill with 00).teoPrologue2 - T=1 I-block prologue field to use (fill with 00).data - the data to send to the ICC.dataLength - the length of data to be sent to the ICC.| Method Detail |
|---|
public int getTimeOut()
public void setTimeOut(int timeOut)
timeOut - the timeout.public int getTimeOut2()
public void setTimeOut2(int timeOut2)
timeOut2 - the timeout2.public int getFormatString()
public void setFormatString(int formatString)
formatString - the format string.public int getPinBlockString()
public void setPinBlockString(int pinBlockString)
pinBlockString - the PIN block string.public int getPinLengthFormat()
public void setPinLengthFormat(int pinLengthFormat)
pinLengthFormat - the PIN length format.public int getPinMaxExtraDigit()
public void setPinMaxExtraDigit(int pinMaxExtraDigit)
pinMaxExtraDigit - the PIN max extra digit.public int getEntryValidationCondition()
public void setEntryValidationCondition(int entryValidationCondition)
entryValidationCondition - the entry validation condition.public int getNumberMessage()
public void setNumberMessage(int numberMessage)
numberMessage - the number message.public int getLangId()
public void setLangId(int langId)
langId - the language ID.public int getMsgIndex()
public void setMsgIndex(int msgIndex)
msgIndex - the message index.public int getTeoPrologue(int index)
index - the index. The value is from 0 to 2.
public void setTeoPrologue(int index,
int teoPrologue)
index - the index. The value is from 0 to 2.teoPrologue - the T1 prologue.public byte[] getData()
public void setData(byte[] data,
int dataLength)
data - the data.dataLength - the data length.public byte[] toByteArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||