public class ChangeKeyCmdBuild extends AbstractPoCommandBuilder<ChangeKeyRespPars>
| Constructor and Description |
|---|
ChangeKeyCmdBuild(PoClass poClass,
byte keyIndex,
byte[] cryptogram)
Change Key Calypso command
|
| Modifier and Type | Method and Description |
|---|---|
ChangeKeyRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
boolean |
isSessionBufferUsed()
Indicates if the session buffer is used when executing this command.
|
getCommandRefsetApduRequestpublic ChangeKeyCmdBuild(PoClass poClass, byte keyIndex, byte[] cryptogram)
poClass - indicates which CLA byte should be used for the ApdukeyIndex - index of the key of the current DF to changecryptogram - key encrypted with Issuer key (key #1)public ChangeKeyRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractPoCommandBuilder<ChangeKeyRespPars>apduResponse - the response data from the the cardAbstractApduResponseParserpublic boolean isSessionBufferUsed()
Allows the management of the overflow of this buffer.
This command can't be executed in session and therefore doesn't uses the session buffer.
isSessionBufferUsed in class AbstractPoCommandBuilder<ChangeKeyRespPars>