public class SamGetChallengeCmdBuild extends AbstractSamCommandBuilder<SamGetChallengeRespPars>
defaultRevision| Constructor and Description |
|---|
SamGetChallengeCmdBuild(SamRevision revision,
byte expectedResponseLength)
Instantiates a new SamGetChallengeCmdBuild.
|
| Modifier and Type | Method and Description |
|---|---|
SamGetChallengeRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
getCommandRefsetApduRequestpublic SamGetChallengeCmdBuild(SamRevision revision, byte expectedResponseLength)
revision - of the SAM (SAM)expectedResponseLength - the expected response lengthjava.lang.IllegalArgumentException - - if the expected response length has wrong value.public SamGetChallengeRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractSamCommandBuilder<SamGetChallengeRespPars>apduResponse - the response data from the the cardAbstractApduResponseParser