#include <VerifyPinCmdBuild.h>
Inherits keyple::calypso::command::po::AbstractPoCommandBuilder< VerifyPinRespPars >.
|
Protected Member Functions inherited from keyple::core::command::AbstractIso7816CommandBuilder |
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const std::vector< uint8_t > &dataIn) |
|
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const uint8_t le) |
|
virtual std::shared_ptr< ApduRequest > | setApduRequest (const uint8_t cla, const SeCommand &command, const uint8_t p1, const uint8_t p2, const std::vector< uint8_t > &dataIn, const uint8_t le) |
|
Protected Attributes inherited from keyple::calypso::command::po::AbstractPoCommandBuilder< VerifyPinRespPars > |
const std::shared_ptr< Logger > | mLogger |
|
Protected Attributes inherited from keyple::core::command::AbstractApduCommandBuilder |
const std::shared_ptr< SeCommand > | mCommandRef |
|
std::shared_ptr< ApduRequest > | mRequest |
|
◆ VerifyPinCmdBuild() [1/2]
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::VerifyPinCmdBuild |
( |
const PoClass & |
poClass, |
|
|
const PinTransmissionMode & |
pinTransmissionMode, |
|
|
const std::vector< uint8_t > & |
pin |
|
) |
| |
Verify the PIN
- Parameters
-
poClass | indicates which CLA byte should be used for the Apdu |
pinTransmissionMode | defines the way the PIN code is transmitted: in clear or encrypted form. |
pin | the PIN data. The PIN is always 4-byte long here, even in the case of a encrypted transmission ( |
- See also
- setCipheredPinData).
◆ VerifyPinCmdBuild() [2/2]
keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::VerifyPinCmdBuild |
( |
const PoClass & |
poClass | ) |
|
|
explicit |
Alternate builder dedicated to the reading of the wrong presentation counter
- Parameters
-
poClass | indicates which CLA byte should be used for the Apdu |
◆ createResponseParser()
std::shared_ptr< VerifyPinRespPars > keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::createResponseParser |
( |
std::shared_ptr< ApduResponse > |
apduResponse | ) |
|
|
overridevirtual |
◆ isReadCounterOnly()
bool keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::isReadCounterOnly |
( |
| ) |
const |
Indicates if the command is used to read the attempt counter only
- Returns
- true if the command is used to read the attempt counter
◆ isSessionBufferUsed()
bool keyple::calypso::command::po::builder::security::VerifyPinCmdBuild::isSessionBufferUsed |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: