public class VerifyPinCmdBuild extends AbstractPoCommandBuilder<VerifyPinRespPars>
| Constructor and Description |
|---|
VerifyPinCmdBuild(PoClass poClass)
Alternate builder dedicated to the reading of the wrong presentation counter
|
VerifyPinCmdBuild(PoClass poClass,
PoTransaction.PinTransmissionMode pinTransmissionMode,
byte[] pin)
Verify the PIN
|
| Modifier and Type | Method and Description |
|---|---|
VerifyPinRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
boolean |
isReadCounterOnly()
Indicates if the command is used to read the attempt counter only
|
boolean |
isSessionBufferUsed()
Indicates if the session buffer is used when executing this command.
|
getCommandRefsetApduRequestpublic VerifyPinCmdBuild(PoClass poClass, PoTransaction.PinTransmissionMode pinTransmissionMode, byte[] pin)
poClass - indicates which CLA byte should be used for the ApdupinTransmissionMode - defines the way the PIN code is transmitted: in clear or encrypted
form.pin - the PIN data. The PIN is always 4-byte long here, even in the case of a encrypted
transmission (@see setCipheredPinData).public VerifyPinCmdBuild(PoClass poClass)
poClass - indicates which CLA byte should be used for the Apdupublic VerifyPinRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractPoCommandBuilder<VerifyPinRespPars>apduResponse - the response data from the the cardAbstractApduResponseParserpublic boolean isSessionBufferUsed()
Allows the management of the overflow of this buffer.
This command doesn't modify the contents of the PO and therefore doesn't uses the session buffer.
isSessionBufferUsed in class AbstractPoCommandBuilder<VerifyPinRespPars>public boolean isReadCounterOnly()