public class DigestUpdateCmdBuild extends AbstractSamCommandBuilder<DigestUpdateRespPars>
defaultRevision| Constructor and Description |
|---|
DigestUpdateCmdBuild(SamRevision revision,
boolean encryptedSession,
byte[] digestData)
Instantiates a new DigestUpdateCmdBuild.
|
| Modifier and Type | Method and Description |
|---|---|
DigestUpdateRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
getCommandRefsetApduRequestpublic DigestUpdateCmdBuild(SamRevision revision, boolean encryptedSession, byte[] digestData)
revision - of the SAMencryptedSession - the encrypted session flag, true if encrypteddigestData - all bytes from command sent by the PO or response from the commandjava.lang.IllegalArgumentException - - if the digest data is null or has a length > 255public DigestUpdateRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractSamCommandBuilder<DigestUpdateRespPars>apduResponse - the response data from the the cardAbstractApduResponseParser