public class DigestInitCmdBuild extends AbstractSamCommandBuilder<DigestInitRespPars>
defaultRevision| Constructor and Description |
|---|
DigestInitCmdBuild(SamRevision revision,
boolean verificationMode,
boolean confidentialSessionMode,
byte workKeyRecordNumber,
byte workKeyKif,
byte workKeyKVC,
byte[] digestData)
Instantiates a new DigestInitCmdBuild.
|
| Modifier and Type | Method and Description |
|---|---|
DigestInitRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
getCommandRefsetApduRequestpublic DigestInitCmdBuild(SamRevision revision, boolean verificationMode, boolean confidentialSessionMode, byte workKeyRecordNumber, byte workKeyKif, byte workKeyKVC, byte[] digestData)
revision - of the SAMverificationMode - the verification modeconfidentialSessionMode - the confidential session mode (rev 3.2)workKeyRecordNumber - the work key record numberworkKeyKif - from the AbstractOpenSessionCmdBuild responseworkKeyKVC - from the AbstractOpenSessionCmdBuild responsedigestData - all data out from the AbstractOpenSessionCmdBuild responsejava.lang.IllegalArgumentException - - if the work key record numberjava.lang.IllegalArgumentException - - if the digest data is nulljava.lang.IllegalArgumentException - - if the request is inconsistentpublic DigestInitRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractSamCommandBuilder<DigestInitRespPars>apduResponse - the response data from the the cardAbstractApduResponseParser