public class PinModify
extends java.lang.Object
Constructor and Description |
---|
PinModify()
Creates an instance of PinModify.
|
PinModify(int timeOut,
int timeOut2,
int formatString,
int pinBlockString,
int pinLengthFormat,
int insertionOffsetOld,
int insertionOffsetNew,
int pinMaxExtraDigit,
int confirmPin,
int entryValidationCondition,
int numberMessage,
int langId,
int msgIndex1,
int msgIndex2,
int msgIndex3,
int teoPrologue0,
int teoPrologue1,
int teoPrologue2,
byte[] data,
int dataLength)
Creates and initializes an instance of PinModify.
|
Modifier and Type | Method and Description |
---|---|
int |
getConfirmPin()
Gets the confirm PIN.
|
byte[] |
getData()
Gets the data.
|
int |
getEntryValidationCondition()
Gets the entry validation condition.
|
int |
getFormatString()
Gets the format string.
|
int |
getInsertionOffsetNew()
Gets the new insertion offset.
|
int |
getInsertionOffsetOld()
Gets the old insertion offset.
|
int |
getLangId()
Gets the language ID.
|
int |
getMsgIndex1()
Gets the message index 1.
|
int |
getMsgIndex2()
Gets the message index 2.
|
int |
getMsgIndex3()
Gets the message index 3.
|
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 |
setConfirmPin(int confirmPin)
Sets the confirm PIN.
|
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 |
setInsertionOffsetNew(int insertionOffsetNew)
Sets the new insertion offset.
|
void |
setInsertionOffsetOld(int insertionOffsetOld)
Sets the old insertion offset.
|
void |
setLangId(int langId)
Sets the language ID.
|
void |
setMsgIndex1(int msgIndex1)
Sets the message index 1.
|
void |
setMsgIndex2(int msgIndex2)
Sets the message index 2.
|
void |
setMsgIndex3(int msgIndex3)
Sets the message index 3.
|
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 PinModify to the byte array.
|
public PinModify()
public PinModify(int timeOut, int timeOut2, int formatString, int pinBlockString, int pinLengthFormat, int insertionOffsetOld, int insertionOffsetNew, int pinMaxExtraDigit, int confirmPin, int entryValidationCondition, int numberMessage, int langId, int msgIndex1, int msgIndex2, int msgIndex3, 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.insertionOffsetOld
- the insertion position offset in bytes for the current PIN.insertionOffsetNew
- the insertion position offset in bytes for the current PIN.pinMaxExtraDigit
- the PIN max extra digit. XXYY, where XX is minimum PIN size in
digits, YY is maximum.confirmPin
- the flags governing need for confirmation of new PIN.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.msgIndex1
- the index of 1st prompting message.msgIndex2
- the index of 2nd prompting messagemsgIndex3
- the index of 2nd prompting messageteoPrologue0
- 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.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 getInsertionOffsetOld()
public void setInsertionOffsetOld(int insertionOffsetOld)
insertionOffsetOld
- the old insertion offset.public int getInsertionOffsetNew()
public void setInsertionOffsetNew(int insertionOffsetNew)
insertionOffsetNew
- the new insertion offset.public int getPinMaxExtraDigit()
public void setPinMaxExtraDigit(int pinMaxExtraDigit)
pinMaxExtraDigit
- the PIN max extra digit.public int getConfirmPin()
public void setConfirmPin(int confirmPin)
confirmPin
- the confirm PIN.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 getMsgIndex1()
public void setMsgIndex1(int msgIndex1)
msgIndex1
- the message index 1.public int getMsgIndex2()
public void setMsgIndex2(int msgIndex2)
msgIndex2
- the message index 2.public int getMsgIndex3()
public void setMsgIndex3(int msgIndex3)
msgIndex3
- the message index 3.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()
Copyright © 2011-2014 Advanced Card Systems Ltd. All Rights Reserved.