public class CardGenerateKeyCmdBuild extends AbstractSamCommandBuilder<CardGenerateKeyRespPars>
defaultRevision| Constructor and Description |
|---|
CardGenerateKeyCmdBuild(SamRevision revision,
KeyReference cipheringKey,
KeyReference sourceKey)
Instantiates a new DigestUpdateCmdBuild and generate the ciphered data for a key ciphered by
another.
|
| Modifier and Type | Method and Description |
|---|---|
CardGenerateKeyRespPars |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
getCommandRefsetApduRequestpublic CardGenerateKeyCmdBuild(SamRevision revision, KeyReference cipheringKey, KeyReference sourceKey)
If the provided ciphering key reference is null, the source key is ciphered with the null key.
revision - of the SAMcipheringKey - the key used to ciphering the source key (the null key is used if this
reference is null)sourceKey - the reference of the key to be loadedpublic CardGenerateKeyRespPars createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
createResponseParser in class AbstractSamCommandBuilder<CardGenerateKeyRespPars>apduResponse - the response data from the the cardAbstractApduResponseParser