Keypop Calypso Card C++ API - 2.2.0
Component of the Keypop C++ API
keypop::calypso::card::transaction::FreeTransactionManager Class Reference

Manager of card transactions requiring no cryptographic computation. More...

#include <keypop/calypso/card/transaction/FreeTransactionManager.hpp>

Inheritance diagram for keypop::calypso::card::transaction::FreeTransactionManager:
Collaboration diagram for keypop::calypso::card::transaction::FreeTransactionManager:

Public Member Functions

virtual ~FreeTransactionManager ()=default
 Virtual destructor. More...
 
- Public Member Functions inherited from keypop::calypso::card::transaction::TransactionManager< FreeTransactionManager >
virtual FreeTransactionManager & prepareSelectFile (std::uint16_t lid)=0
 Schedules the execution of a "Select File" command to select an EF by its LID in the current DF. More...
 
virtual FreeTransactionManager & prepareSelectFile (SelectFileControl selectFileControl)=0
 Schedules the execution of a "Select File" command using a navigation selectFileControl defined by the ISO standard. More...
 
virtual FreeTransactionManager & prepareGetData (GetDataTag tag)=0
 Schedules the execution of one or more "Get Data" command to retrieve the data indicated by the provided data type. More...
 
virtual FreeTransactionManager & preparePutData (PutDataTag tag, const std::vector< std::uint8_t > &data)=0
 Schedules the execution of one or more "Put Data" command to inject the provided data associated with the provided data type. More...
 
virtual FreeTransactionManager & prepareReadRecord (std::uint8_t sfi, int recordNumber)=0
 Schedules the execution of a "Read Records" command to read a single record from the indicated EF. More...
 
virtual FreeTransactionManager & prepareReadRecords (std::uint8_t sfi, int fromRecordNumber, int toRecordNumber, int recordSize)=0
 Schedules the execution of a "Read Records" command to read one or more records from the indicated EF. More...
 
virtual FreeTransactionManager & prepareReadRecordsPartially (std::uint8_t sfi, int fromRecordNumber, int toRecordNumber, int offset, int nbBytesToRead)=0
 Schedules the execution of one or multiple "Read Record Multiple" commands to read all or parts of multiple records of the indicated EF. More...
 
virtual FreeTransactionManager & prepareReadBinary (std::uint8_t sfi, int offset, int nbBytesToRead)=0
 Schedules the execution of one or multiple "Read Binary" commands to read all or part of the indicated "binary" EF. More...
 
virtual FreeTransactionManager & prepareReadCounter (std::uint8_t sfi, int nbCountersToRead)=0
 Schedules the execution of a "Read Records" command to reads a record of the indicated EF, which should be a "counter" file. More...
 
virtual FreeTransactionManager & prepareSearchRecords (std::shared_ptr< SearchCommandData > data)=0
 Schedules the execution of a "Search Record Multiple" command to search data in the records of the indicated EF, from a given record to the last record of the file. More...
 
virtual FreeTransactionManager & prepareCheckPinStatus ()=0
 Schedules the execution of a "Verify Pin" command without PIN presentation in order to get the attempt counter. More...
 
virtual FreeTransactionManager & prepareAppendRecord (std::uint8_t sfi, const std::vector< std::uint8_t > &recordData)=0
 Schedules the execution of an "Append Record" command to adds the data provided in the indicated "cyclic" file. More...
 
virtual FreeTransactionManager & prepareUpdateRecord (std::uint8_t sfi, int recordNumber, const std::vector< std::uint8_t > &recordData)=0
 Schedules the execution of an "Update Record" command to overwrites the target file's record contents with the provided data. More...
 
virtual FreeTransactionManager & prepareWriteRecord (std::uint8_t sfi, int recordNumber, const std::vector< std::uint8_t > &recordData)=0
 Schedules the execution of a "Write Record" command to updates the target file's record contents with the result of a binary OR between the existing data and the provided data. More...
 
virtual FreeTransactionManager & prepareUpdateBinary (std::uint8_t sfi, int offset, const std::vector< std::uint8_t > &data)=0
 Schedules the execution of one or multiple "Update Binary" command to replace the indicated data of a "binary" file with the new data given from the indicated offset. More...
 
virtual FreeTransactionManager & prepareWriteBinary (std::uint8_t sfi, int offset, const std::vector< std::uint8_t > &data)=0
 Schedules the execution of one or multiple "Write Binary" commands to write over the indicated data of a "binary" file. More...
 
virtual FreeTransactionManager & prepareIncreaseCounter (std::uint8_t sfi, int counterNumber, int incValue)=0
 Schedules the execution of an "Increase" command to increase the target counter. More...
 
virtual FreeTransactionManager & prepareIncreaseCounters (std::uint8_t sfi, const std::map< int, int > &counterNumberToIncValueMap)=0
 Schedules the execution of an "Increase Multiple" command or multiple "Increase" commands to increase multiple target counters at the same time. More...
 
virtual FreeTransactionManager & prepareDecreaseCounter (std::uint8_t sfi, int counterNumber, int decValue)=0
 Schedules the execution of a "Decrease" command to decrease the target counter. More...
 
virtual FreeTransactionManager & prepareDecreaseCounters (std::uint8_t sfi, const std::map< int, int > &counterNumberToDecValueMap)=0
 Schedules the execution of a "Decrease Multiple" command or multiple "Decrease" commands to decrease multiple target counters at the same time. More...
 
virtual FreeTransactionManager & prepareSetCounter (std::uint8_t sfi, int counterNumber, int newValue)=0
 Schedules the execution of an "Increase" or "Decrease" command to set the value of the target counter. More...
 
virtual FreeTransactionManager & prepareSvReadAllLogs ()=0
 Schedules the execution of "Read Records" commands to read all SV logs. More...
 
virtual FreeTransactionManager & prepareVerifyPin (const std::vector< std::uint8_t > &pin)=0
 Schedules the execution of a "Verify PIN" command in order to authenticate the cardholder and/or unlock access to certain card files. More...
 
virtual FreeTransactionManager & prepareChangePin (const std::vector< uint8_t > &newPin)=0
 Schedules the execution of a "Change PIN" command to replace the current PIN with the new value provided. More...
 
virtual FreeTransactionManager & prepareGenerateAsymmetricKeyPair ()=0
 Schedules the execution of a "Generate Asymmetric Key Pair" command. More...
 
virtual const std::vector< std::vector< std::uint8_t > > & getTransactionAuditData () const=0
 Processes all previously prepared commands and closes the physical channel if requested. More...
 

Detailed Description

Manager of card transactions requiring no cryptographic computation.

See TransactionManager parent interface for more information and details of available card operations.

An instance of this interface can be obtained via the method CalypsoCardApiFactory::createFreeTransactionManager(CardReader, CalypsoCard).

Since
2.0.0

Definition at line 34 of file FreeTransactionManager.hpp.

Constructor & Destructor Documentation

◆ ~FreeTransactionManager()

virtual keypop::calypso::card::transaction::FreeTransactionManager::~FreeTransactionManager ( )
virtualdefault

Virtual destructor.


The documentation for this class was generated from the following file: