Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
Public Member Functions | Friends | List of all members
keyple::card::calypso::CalypsoCardAdapter Class Referencefinal

#include <CalypsoCardAdapter.h>

Inheritance diagram for keyple::card::calypso::CalypsoCardAdapter:
Inheritance graph
[legend]
Collaboration diagram for keyple::card::calypso::CalypsoCardAdapter:
Collaboration graph
[legend]

Public Member Functions

 CalypsoCardAdapter ()
 
void initializeWithPowerOnData (const std::string &powerOnData)
 
void initializeWithFci (const std::shared_ptr< ApduResponseApi > selectApplicationResponse)
 
const CalypsoCard::ProductType & getProductType () const override
 
bool isHce () const override
 
const std::vector< uint8_t > & getDfName () const override
 
const std::vector< uint8_t > & getCalypsoSerialNumberFull () const
 
const std::vector< uint8_t > getApplicationSerialNumber () const override
 
const std::vector< uint8_t > & getStartupInfoRawData () const override
 
uint8_t getPayloadCapacity () const
 
bool isModificationsCounterInBytes () const
 
int getModificationsCounter () const
 
uint8_t getPlatform () const override
 
uint8_t getApplicationType () const override
 
bool isExtendedModeSupported () const override
 
bool isRatificationOnDeselectSupported () const override
 
bool isSvFeatureAvailable () const override
 
bool isPinFeatureAvailable () const override
 
bool isPkiModeSupported () const override
 
uint8_t getApplicationSubtype () const override
 
uint8_t getSoftwareIssuer () const override
 
uint8_t getSoftwareVersion () const override
 
uint8_t getSoftwareRevision () const override
 
uint8_t getSessionModification () const override
 
const std::vector< uint8_t > getTraceabilityInformation () const override
 
bool isDfInvalidated () const override
 
bool isDfRatified () const override
 
void setSvData (const uint8_t svKvc, const std::vector< uint8_t > &svGetHeader, const std::vector< uint8_t > &svGetData, const int svBalance, const int svLastTNum, const std::shared_ptr< SvLoadLogRecord > svLoadLogRecord, const std::shared_ptr< SvDebitLogRecord > svDebitLogRecord)
 
int getSvBalance () const override
 
int getSvLastTNum () const override
 
const std::shared_ptr< SvLoadLogRecord > getSvLoadLogRecord () override
 
const std::shared_ptr< SvDebitLogRecord > getSvDebitLogLastRecord () override
 
const std::vector< std::shared_ptr< SvDebitLogRecord > > getSvDebitLogAllRecords () const override
 
void setDfRatified (const bool dfRatified)
 
CalypsoCardClass getCardClass () const
 
const std::shared_ptr< DirectoryHeader > getDirectoryHeader () const override
 
CalypsoCard & setDirectoryHeader (const std::shared_ptr< DirectoryHeader > directoryHeader)
 
const std::shared_ptr< ElementaryFile > getFileBySfi (const uint8_t sfi) const override
 
const std::shared_ptr< ElementaryFile > getFileByLid (const uint16_t lid) const override
 
const std::map< const uint8_t, const std::shared_ptr< ElementaryFile > > getAllFiles () const override
 
const std::vector< std::shared_ptr< ElementaryFile > > & getFiles () const override
 
bool isPinBlocked () const override
 
int getPinAttemptRemaining () const override
 
void setPinAttemptRemaining (const int pinAttemptCounter)
 
void setFileHeader (const uint8_t sfi, const std::shared_ptr< FileHeaderAdapter > header)
 
void setContent (const uint8_t sfi, const uint8_t numRecord, const std::vector< uint8_t > &content)
 
void setCounter (const uint8_t sfi, const uint8_t numCounter, const std::vector< uint8_t > &content)
 
void setContent (const uint8_t sfi, const uint8_t numRecord, const std::vector< uint8_t > &content, const uint8_t offset)
 
void fillContent (const uint8_t sfi, const uint8_t numRecord, const std::vector< uint8_t > &content, const uint8_t offset)
 
void addCyclicContent (const uint8_t sfi, const std::vector< uint8_t > content)
 
void backupFiles ()
 
void restoreFiles ()
 
const std::string & getPowerOnData () const override
 
const std::vector< uint8_t > getSelectApplicationResponse () const override
 
void setCardChallenge (const std::vector< uint8_t > &cardChallenge)
 
void setTraceabilityInformation (const std::vector< uint8_t > &traceabilityInformation)
 
void setSvOperationSignature (const std::vector< uint8_t > &svOperationSignature)
 
const std::vector< uint8_t > & getCardChallenge () const
 
uint8_t getSvKvc () const
 
const std::vector< uint8_t > & getSvGetHeader () const
 
const std::vector< uint8_t > & getSvGetData () const
 
const std::vector< uint8_t > & getSvOperationSignature () const
 

Friends

KEYPLECARDCALYPSO_API std::ostream & operator<< (std::ostream &os, const CalypsoCardAdapter &cca)
 
KEYPLECARDCALYPSO_API std::ostream & operator<< (std::ostream &os, const std::shared_ptr< CalypsoCardAdapter > cca)
 

Detailed Description

(package-private)
Implementation of CalypsoCard.

Since
2.0.0

Definition at line 54 of file CalypsoCardAdapter.h.

Constructor & Destructor Documentation

◆ CalypsoCardAdapter()

keyple::card::calypso::CalypsoCardAdapter::CalypsoCardAdapter ( )

Constructor.

Since
2.0.0

Definition at line 68 of file CalypsoCardAdapter.cpp.

Member Function Documentation

◆ addCyclicContent()

void keyple::card::calypso::CalypsoCardAdapter::addCyclicContent ( const uint8_t  sfi,
const std::vector< uint8_t >  content 
)

(package-private)
Add cyclic content at record #1 by rolling previously all actual records contents (record #1 -> record #2, record #2 -> record #3,...) of the current selected file.
This is useful for cyclic files. Note that records are infinitely shifted.

If EF does not exist, then it is created.

Parameters
sfithe SFI.
contentthe content (should be not empty).
Since
2.0.0

Definition at line 650 of file CalypsoCardAdapter.cpp.

◆ backupFiles()

void keyple::card::calypso::CalypsoCardAdapter::backupFiles ( )

(package-private)
Make a backup of the Elementary Files.
This method should be used before starting a card secure session.

Since
2.0.0

Definition at line 657 of file CalypsoCardAdapter.cpp.

◆ fillContent()

void keyple::card::calypso::CalypsoCardAdapter::fillContent ( const uint8_t  sfi,
const uint8_t  numRecord,
const std::vector< uint8_t > &  content,
const uint8_t  offset 
)

(package-private)
Fills the content at the specified offset of the specified record of the current selected file using a binary OR operation with the provided content.
If EF does not exist, then it is created.
If actual record content is not set or has a size

<

offset + content size, then missing data will be completed by the provided content.

Parameters
sfithe SFI.
numRecordthe record number (should be
>=
1).
contentthe content (should be not empty).
Since
2.1.0

Definition at line 639 of file CalypsoCardAdapter.cpp.

◆ getAllFiles()

const std::map< const uint8_t, const std::shared_ptr< ElementaryFile > > keyple::card::calypso::CalypsoCardAdapter::getAllFiles ( ) const
override
Since
2.0.0
Deprecated:

Definition at line 520 of file CalypsoCardAdapter.cpp.

◆ getApplicationSerialNumber()

const std::vector< uint8_t > keyple::card::calypso::CalypsoCardAdapter::getApplicationSerialNumber ( ) const
override
Since
2.0.0

Definition at line 264 of file CalypsoCardAdapter.cpp.

◆ getApplicationSubtype()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getApplicationSubtype ( ) const
override
Since
2.0.0

Definition at line 329 of file CalypsoCardAdapter.cpp.

◆ getApplicationType()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getApplicationType ( ) const
override
Since
2.0.0

Definition at line 299 of file CalypsoCardAdapter.cpp.

◆ getCalypsoSerialNumberFull()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getCalypsoSerialNumberFull ( ) const

(package-private)
Gets the full Calypso serial number including the possible validity date information in the two MSB.

The serial number to be used as diversifier for key derivation.
This is the complete number returned by the card in its response to the Select command.

Returns
A byte array containing the Calypso Serial Number (8 bytes)
Since
2.0.0

Definition at line 259 of file CalypsoCardAdapter.cpp.

◆ getCardChallenge()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getCardChallenge ( ) const

(package-private)
Gets the challenge received from the card

Returns
An array of bytes containing the challenge bytes (variable length according to the product type of the card). May be null if the challenge is not available.
Since
2.0.0

Definition at line 706 of file CalypsoCardAdapter.cpp.

◆ getCardClass()

CalypsoCardClass keyple::card::calypso::CalypsoCardAdapter::getCardClass ( ) const

(package-private)
Gets the current card class.

Returns
A not null reference.
Since
2.0.0

Definition at line 470 of file CalypsoCardAdapter.cpp.

◆ getDfName()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getDfName ( ) const
override
Since
2.0.0

Definition at line 254 of file CalypsoCardAdapter.cpp.

◆ getDirectoryHeader()

const std::shared_ptr< DirectoryHeader > keyple::card::calypso::CalypsoCardAdapter::getDirectoryHeader ( ) const
override
Since
2.0.0

Definition at line 475 of file CalypsoCardAdapter.cpp.

◆ getFileByLid()

const std::shared_ptr< ElementaryFile > keyple::card::calypso::CalypsoCardAdapter::getFileByLid ( const uint16_t  lid) const
override
Since
2.0.0

Definition at line 506 of file CalypsoCardAdapter.cpp.

◆ getFileBySfi()

const std::shared_ptr< ElementaryFile > keyple::card::calypso::CalypsoCardAdapter::getFileBySfi ( const uint8_t  sfi) const
override
Since
2.0.0

Definition at line 489 of file CalypsoCardAdapter.cpp.

◆ getFiles()

const std::vector< std::shared_ptr< ElementaryFile > > & keyple::card::calypso::CalypsoCardAdapter::getFiles ( ) const
override
Since
2.1.0

Definition at line 532 of file CalypsoCardAdapter.cpp.

◆ getModificationsCounter()

int keyple::card::calypso::CalypsoCardAdapter::getModificationsCounter ( ) const

(package-private)
Indicates the maximum number of changes allowed in session.

This number can be a number of operations or a number of commands (see isModificationsCounterInBytes)

Returns
The maximum number of modifications allowed
Since
2.0.0

Definition at line 289 of file CalypsoCardAdapter.cpp.

◆ getPayloadCapacity()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getPayloadCapacity ( ) const

(package-private)
Gets the maximum length of data that an APDU in this card can carry.

Returns
An int
Since
2.0.0

Definition at line 278 of file CalypsoCardAdapter.cpp.

◆ getPinAttemptRemaining()

int keyple::card::calypso::CalypsoCardAdapter::getPinAttemptRemaining ( ) const
override
Since
2.0.0

Definition at line 581 of file CalypsoCardAdapter.cpp.

◆ getPlatform()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getPlatform ( ) const
override
Since
2.0.0

Definition at line 294 of file CalypsoCardAdapter.cpp.

◆ getPowerOnData()

const std::string & keyple::card::calypso::CalypsoCardAdapter::getPowerOnData ( ) const
override
Since
2.0.0

Definition at line 676 of file CalypsoCardAdapter.cpp.

◆ getProductType()

const CalypsoCard::ProductType & keyple::card::calypso::CalypsoCardAdapter::getProductType ( ) const
override
Since
2.0.0

Definition at line 244 of file CalypsoCardAdapter.cpp.

◆ getSelectApplicationResponse()

const std::vector< uint8_t > keyple::card::calypso::CalypsoCardAdapter::getSelectApplicationResponse ( ) const
override
Since
2.0.0

Definition at line 681 of file CalypsoCardAdapter.cpp.

◆ getSessionModification()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getSessionModification ( ) const
override
Since
2.0.0

Definition at line 349 of file CalypsoCardAdapter.cpp.

◆ getSoftwareIssuer()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getSoftwareIssuer ( ) const
override
Since
2.0.0

Definition at line 334 of file CalypsoCardAdapter.cpp.

◆ getSoftwareRevision()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getSoftwareRevision ( ) const
override
Since
2.0.0

Definition at line 344 of file CalypsoCardAdapter.cpp.

◆ getSoftwareVersion()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getSoftwareVersion ( ) const
override
Since
2.0.0

Definition at line 339 of file CalypsoCardAdapter.cpp.

◆ getStartupInfoRawData()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getStartupInfoRawData ( ) const
override
Since
2.0.0

Definition at line 273 of file CalypsoCardAdapter.cpp.

◆ getSvBalance()

int keyple::card::calypso::CalypsoCardAdapter::getSvBalance ( ) const
override
Since
2.0.0

Definition at line 399 of file CalypsoCardAdapter.cpp.

◆ getSvDebitLogAllRecords()

const std::vector< std::shared_ptr< SvDebitLogRecord > > keyple::card::calypso::CalypsoCardAdapter::getSvDebitLogAllRecords ( ) const
override
Since
2.0.0

Definition at line 444 of file CalypsoCardAdapter.cpp.

◆ getSvDebitLogLastRecord()

const std::shared_ptr< SvDebitLogRecord > keyple::card::calypso::CalypsoCardAdapter::getSvDebitLogLastRecord ( )
override
Since
2.0.0

Definition at line 432 of file CalypsoCardAdapter.cpp.

◆ getSvGetData()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getSvGetData ( ) const

(package-private)
Gets the SV Get command response data

Returns
A byte array containing the SV Get command response data.
Exceptions
IllegalStateExceptionIf the requested data has not been set.
Since
2.0.0

Definition at line 725 of file CalypsoCardAdapter.cpp.

◆ getSvGetHeader()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getSvGetHeader ( ) const

(package-private)
Gets the SV Get command header

Returns
A byte array containing the SV Get command header.
Exceptions
IllegalStateExceptionIf the requested data has not been set.
Since
2.0.0

Definition at line 716 of file CalypsoCardAdapter.cpp.

◆ getSvKvc()

uint8_t keyple::card::calypso::CalypsoCardAdapter::getSvKvc ( ) const

(package-private)
Gets the SV KVC from the card

Returns
The SV KVC byte.
Since
2.0.0

Definition at line 711 of file CalypsoCardAdapter.cpp.

◆ getSvLastTNum()

int keyple::card::calypso::CalypsoCardAdapter::getSvLastTNum ( ) const
override
Since
2.0.0

Definition at line 408 of file CalypsoCardAdapter.cpp.

◆ getSvLoadLogRecord()

const std::shared_ptr< SvLoadLogRecord > keyple::card::calypso::CalypsoCardAdapter::getSvLoadLogRecord ( )
override
Since
2.0.0

Definition at line 417 of file CalypsoCardAdapter.cpp.

◆ getSvOperationSignature()

const std::vector< uint8_t > & keyple::card::calypso::CalypsoCardAdapter::getSvOperationSignature ( ) const

(package-private)
Gets the last SV Operation signature (SV Reload, Debit or Undebit)

Returns
A byte array containing the SV Operation signature or null if not available.
Since
2.0.0

Definition at line 734 of file CalypsoCardAdapter.cpp.

◆ getTraceabilityInformation()

const std::vector< uint8_t > keyple::card::calypso::CalypsoCardAdapter::getTraceabilityInformation ( ) const
override
Since
2.1.0

Definition at line 354 of file CalypsoCardAdapter.cpp.

◆ initializeWithFci()

void keyple::card::calypso::CalypsoCardAdapter::initializeWithFci ( const std::shared_ptr< ApduResponseApi >  selectApplicationResponse)

(package-private)
Initializes or post-initializes the object with the application FCI data.

Parameters
selectApplicationResponseThe select application response.
Exceptions
IllegalArgumentExceptionIf the FCI is inconsistent.
Since
2.0.0

Definition at line 127 of file CalypsoCardAdapter.cpp.

◆ initializeWithPowerOnData()

void keyple::card::calypso::CalypsoCardAdapter::initializeWithPowerOnData ( const std::string &  powerOnData)

(package-private)
Initializes the object with the card power-on data.

This method should be invoked only when no response to select application is available.

Parameters
powerOnDataThe card's power-on data.
Exceptions
IllegalArgumentExceptionIf powerOnData is inconsistent.
Since
2.0.0

Definition at line 88 of file CalypsoCardAdapter.cpp.

◆ isDfInvalidated()

bool keyple::card::calypso::CalypsoCardAdapter::isDfInvalidated ( ) const
override
Since
2.0.0

Definition at line 360 of file CalypsoCardAdapter.cpp.

◆ isDfRatified()

bool keyple::card::calypso::CalypsoCardAdapter::isDfRatified ( ) const
override
Since
2.0.0

Definition at line 365 of file CalypsoCardAdapter.cpp.

◆ isExtendedModeSupported()

bool keyple::card::calypso::CalypsoCardAdapter::isExtendedModeSupported ( ) const
override
Since
2.0.0

Definition at line 304 of file CalypsoCardAdapter.cpp.

◆ isHce()

bool keyple::card::calypso::CalypsoCardAdapter::isHce ( ) const
override
Since
2.0.0

Definition at line 249 of file CalypsoCardAdapter.cpp.

◆ isModificationsCounterInBytes()

bool keyple::card::calypso::CalypsoCardAdapter::isModificationsCounterInBytes ( ) const

(package-private)
Tells if the change counter allowed in session is established in number of operations or number of bytes modified.

This varies depending on the product type of the card.

Returns
True if the counter is number of bytes
Since
2.0.0

Definition at line 284 of file CalypsoCardAdapter.cpp.

◆ isPinBlocked()

bool keyple::card::calypso::CalypsoCardAdapter::isPinBlocked ( ) const
override
Since
2.0.0

Definition at line 576 of file CalypsoCardAdapter.cpp.

◆ isPinFeatureAvailable()

bool keyple::card::calypso::CalypsoCardAdapter::isPinFeatureAvailable ( ) const
override
Since
2.0.0

Definition at line 319 of file CalypsoCardAdapter.cpp.

◆ isPkiModeSupported()

bool keyple::card::calypso::CalypsoCardAdapter::isPkiModeSupported ( ) const
override
Since
2.0.0

Definition at line 324 of file CalypsoCardAdapter.cpp.

◆ isRatificationOnDeselectSupported()

bool keyple::card::calypso::CalypsoCardAdapter::isRatificationOnDeselectSupported ( ) const
override
Since
2.0.0

Definition at line 309 of file CalypsoCardAdapter.cpp.

◆ isSvFeatureAvailable()

bool keyple::card::calypso::CalypsoCardAdapter::isSvFeatureAvailable ( ) const
override
Since
2.0.0

Definition at line 314 of file CalypsoCardAdapter.cpp.

◆ restoreFiles()

void keyple::card::calypso::CalypsoCardAdapter::restoreFiles ( )

(package-private)
Restore the last backup of Elementary Files.
This method should be used when SW of the card close secure session command is unsuccessful or if secure session is aborted.

Since
2.0.0

Definition at line 662 of file CalypsoCardAdapter.cpp.

◆ setCardChallenge()

void keyple::card::calypso::CalypsoCardAdapter::setCardChallenge ( const std::vector< uint8_t > &  cardChallenge)

(package-private)
Sets the challenge received in response to the GET CHALLENGE command.

Parameters
cardChallengeA not empty array.
Since
2.0.0

Definition at line 690 of file CalypsoCardAdapter.cpp.

◆ setContent() [1/2]

void keyple::card::calypso::CalypsoCardAdapter::setContent ( const uint8_t  sfi,
const uint8_t  numRecord,
const std::vector< uint8_t > &  content 
)

(package-private)
Set or replace the entire content of the specified record #numRecord of the current selected file by the provided content.
If EF does not exist, then it is created.

Parameters
sfithe SFI.
numRecordthe record number (should be
>=
1).
contentthe content (should be not empty).
Since
2.0.0

Definition at line 610 of file CalypsoCardAdapter.cpp.

◆ setContent() [2/2]

void keyple::card::calypso::CalypsoCardAdapter::setContent ( const uint8_t  sfi,
const uint8_t  numRecord,
const std::vector< uint8_t > &  content,
const uint8_t  offset 
)

(package-private)
Set or replace the content at the specified offset of record #numRecord of the current selected file by a copy of the provided content.
If EF does not exist, then it is created.
If actual record content is not set or has a size

<

offset, then missing data will be padded with 0.

Parameters
sfithe SFI.
numRecordthe record number (should be
>=
1).
contentthe content (should be not empty).
offsetthe offset (should be
>=
0).
Since
2.0.0

Definition at line 628 of file CalypsoCardAdapter.cpp.

◆ setCounter()

void keyple::card::calypso::CalypsoCardAdapter::setCounter ( const uint8_t  sfi,
const uint8_t  numCounter,
const std::vector< uint8_t > &  content 
)

(package-private)
Sets a counter value in record #1 of the current selected file.
If EF does not exist, then it is created.

Parameters
sfithe SFI.
numCounterthe counter number (should be
>=
1).
contentthe counter value (should be not null and 3 bytes length).
Since
2.0.0

Definition at line 619 of file CalypsoCardAdapter.cpp.

◆ setDfRatified()

void keyple::card::calypso::CalypsoCardAdapter::setDfRatified ( const bool  dfRatified)

(package-private)
Sets the ratification status

Parameters
dfRatifiedtrue if the session was ratified.
Since
2.0.0

Definition at line 465 of file CalypsoCardAdapter.cpp.

◆ setDirectoryHeader()

CalypsoCard & keyple::card::calypso::CalypsoCardAdapter::setDirectoryHeader ( const std::shared_ptr< DirectoryHeader >  directoryHeader)

(package-private)
Sets the DF metadata.
Updates the invalidation flag.

Parameters
directoryHeaderthe DF metadata (should be not null).
Returns
the current instance.
Since
2.0.0

Definition at line 480 of file CalypsoCardAdapter.cpp.

◆ setFileHeader()

void keyple::card::calypso::CalypsoCardAdapter::setFileHeader ( const uint8_t  sfi,
const std::shared_ptr< FileHeaderAdapter header 
)

(package-private)
Sets the provided ileHeaderAdapter} to the current selected file.
If EF does not exist, then it is created.

Parameters
sfithe SFI.
headerthe file header (should be not null).
Since
2.0.0

Definition at line 595 of file CalypsoCardAdapter.cpp.

◆ setPinAttemptRemaining()

void keyple::card::calypso::CalypsoCardAdapter::setPinAttemptRemaining ( const int  pinAttemptCounter)

(package-private)
Sets the PIN attempts counter.
The PIN attempt counter is interpreted to give the results of the methods isPinBlocked and getPinAttemptRemaining.

Parameters
pinAttemptCounterthe number of remaining attempts to present the PIN code.
Since
2.0.0

Definition at line 590 of file CalypsoCardAdapter.cpp.

◆ setSvData()

void keyple::card::calypso::CalypsoCardAdapter::setSvData ( const uint8_t  svKvc,
const std::vector< uint8_t > &  svGetHeader,
const std::vector< uint8_t > &  svGetData,
const int  svBalance,
const int  svLastTNum,
const std::shared_ptr< SvLoadLogRecord >  svLoadLogRecord,
const std::shared_ptr< SvDebitLogRecord >  svDebitLogRecord 
)

(package-private)
Sets the Stored Value data from the SV Get command

Parameters
svKvcThe KVC value.
svGetHeaderA not empty array.
svGetDataA not empty array.
svBalancethe current SV balance.
svLastTNumthe last SV transaction number.
svLoadLogRecordthe SV load log record (may be null if not available).
svDebitLogRecordthe SV debit log record (may be null if not available).
Since
2.0.0

Definition at line 375 of file CalypsoCardAdapter.cpp.

◆ setSvOperationSignature()

void keyple::card::calypso::CalypsoCardAdapter::setSvOperationSignature ( const std::vector< uint8_t > &  svOperationSignature)

(package-private)
Sets the SV signature.

Parameters
svOperationSignatureA not empty array.
Since
2.0.0

Definition at line 701 of file CalypsoCardAdapter.cpp.

◆ setTraceabilityInformation()

void keyple::card::calypso::CalypsoCardAdapter::setTraceabilityInformation ( const std::vector< uint8_t > &  traceabilityInformation)

(package-private)
Sets the traceability information received in response to the GET DATA command for the tag GetDataTag::TRACEABILITY_INFORMATION}.

Parameters
traceabilityInformationThe traceability information.
Since
2.1.0

Definition at line 695 of file CalypsoCardAdapter.cpp.

Friends And Related Function Documentation

◆ operator<< [1/2]

KEYPLECARDCALYPSO_API std::ostream & operator<< ( std::ostream &  os,
const CalypsoCardAdapter cca 
)
friend

Definition at line 739 of file CalypsoCardAdapter.cpp.

◆ operator<< [2/2]

KEYPLECARDCALYPSO_API std::ostream & operator<< ( std::ostream &  os,
const std::shared_ptr< CalypsoCardAdapter cca 
)
friend

Definition at line 783 of file CalypsoCardAdapter.cpp.


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