Keypop Calypso Crypto Symmetric C++ API 0.1.1
Reference Calypso Crypto Symmetric API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi Class Referenceabstract

#include <SvCommandSecurityDataApi.hpp>

Public Member Functions

virtual const std::vector< uint8_t > & getSvGetRequest () const =0
 
virtual const std::vector< uint8_t > & getSvGetResponse () const =0
 
virtual const std::vector< uint8_t > & getSvCommandPartialRequest () const =0
 
virtual SvCommandSecurityDataApisetSerialNumber (const std::vector< uint8_t > &serialNumber)=0
 
virtual SvCommandSecurityDataApisetTransactionNumber (const std::vector< uint8_t > &transactionNumber)=0
 
virtual SvCommandSecurityDataApi setTerminalChallenge (const std::vector< uint8_t > &terminalChallenge)=0
 
virtual SvCommandSecurityDataApi setTerminalSvMac (const std::vector< uint8_t > &terminalSvMac)=0
 

Detailed Description

Contains the input/output data of the SV command operations (LOAD / DEBIT / UNDEBIT).

Since
0.1.0

Definition at line 25 of file SvCommandSecurityDataApi.hpp.

Member Function Documentation

◆ getSvCommandPartialRequest()

virtual const std::vector< uint8_t > & keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::getSvCommandPartialRequest ( ) const
pure virtual

Returns the "SV Load/Debit/Undebit" ingoing partial command data.

Returns
A not empty byte array containing the "SV Load/Debit/Undebit" apdu request data.
Since
0.1.0

◆ getSvGetRequest()

virtual const std::vector< uint8_t > & keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::getSvGetRequest ( ) const
pure virtual

Returns the "SV Get" ingoing command data.

Returns
A not empty byte array containing the "SV Get" apdu request data.
Since
0.1.0

◆ getSvGetResponse()

virtual const std::vector< uint8_t > & keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::getSvGetResponse ( ) const
pure virtual

Returns the "SV Get" outgoing command data.

Returns
A not empty byte array containing the "SV Get" apdu response data.
Since
0.1.0

◆ setSerialNumber()

virtual SvCommandSecurityDataApi & keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::setSerialNumber ( const std::vector< uint8_t > &  serialNumber)
pure virtual

Sets the serial number to be placed in the "SV Load/Debit/Undebit" command request.

Parameters
serialNumberThe serial number to be used.
Returns
The current instance.
Since
0.1.0

◆ setTerminalChallenge()

virtual SvCommandSecurityDataApi keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::setTerminalChallenge ( const std::vector< uint8_t > &  terminalChallenge)
pure virtual

Sets the terminal challenge to be placed in the SV Load/Debit/Undebit command request.

Parameters
terminalChallengeThe terminal challenge to be used.
Returns
The current instance.
Since
0.1.0

◆ setTerminalSvMac()

virtual SvCommandSecurityDataApi keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::setTerminalSvMac ( const std::vector< uint8_t > &  terminalSvMac)
pure virtual

Sets the terminal SV MAC to be placed in the "SV Load/Debit/Undebit" command request.

Parameters
terminalSvMacThe terminal SV MAC to be used.
Returns
The current instance.
Since
0.1.0

◆ setTransactionNumber()

virtual SvCommandSecurityDataApi & keypop::calypso::crypto::symmetric::SvCommandSecurityDataApi::setTransactionNumber ( const std::vector< uint8_t > &  transactionNumber)
pure virtual

Sets the transaction number to be placed in the "SV Load/Debit/Undebit" command request.

Parameters
transactionNumberThe transaction number to be used.
Returns
The current instance.
Since
0.1.0

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