#include <CalypsoSamAdapter.h>
|
| static uint8_t | getClassByte (const CalypsoSam::ProductType type) |
| |
(package-private)
Implementation of CalypsoSam.
- Since
- 2.0.0
Definition at line 45 of file CalypsoSamAdapter.h.
◆ CalypsoSamAdapter()
| keyple::card::calypso::CalypsoSamAdapter::CalypsoSamAdapter |
( |
const std::shared_ptr< CardSelectionResponseApi > |
cardSelectionResponse | ) |
|
Constructor.
Create the initial content from the data received in response to the card selection.
- Parameters
-
| cardSelectionResponse | the response to the selection command. |
- Since
- 2.0.0
Definition at line 31 of file CalypsoSamAdapter.cpp.
◆ getApplicationSubType()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getApplicationSubType |
( |
| ) |
const |
|
override |
◆ getApplicationType()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getApplicationType |
( |
| ) |
const |
|
override |
◆ getClassByte() [1/2]
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getClassByte |
( |
| ) |
const |
(package-private)
Gets the class byte to use for the current product type.
- Returns
- A byte.
- Since
- 2.0.0
Definition at line 115 of file CalypsoSamAdapter.cpp.
◆ getClassByte() [2/2]
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getClassByte |
( |
const CalypsoSam::ProductType |
type | ) |
|
|
static |
(package-private)
Gets the class byte to use for the provided product type.
- Returns
- A byte.
- Since
- 2.0.0
Definition at line 104 of file CalypsoSamAdapter.cpp.
◆ getMaxDigestDataLength()
| int keyple::card::calypso::CalypsoSamAdapter::getMaxDigestDataLength |
( |
| ) |
const |
(package-private)
Gets the maximum length allowed for digest commands.
- Returns
- An positive int.
- Since
- 2.0.0
Definition at line 120 of file CalypsoSamAdapter.cpp.
◆ getPlatform()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getPlatform |
( |
| ) |
const |
|
override |
◆ getPowerOnData()
| const std::string & keyple::card::calypso::CalypsoSamAdapter::getPowerOnData |
( |
| ) |
const |
|
override |
◆ getProductInfo()
| const std::string keyple::card::calypso::CalypsoSamAdapter::getProductInfo |
( |
| ) |
const |
|
override |
Gets textual information about the SAM.
- Returns
- A not empty String.
Definition at line 152 of file CalypsoSamAdapter.cpp.
◆ getProductType()
| CalypsoSam::ProductType keyple::card::calypso::CalypsoSamAdapter::getProductType |
( |
| ) |
const |
|
override |
◆ getSelectApplicationResponse()
| const std::vector< uint8_t > keyple::card::calypso::CalypsoSamAdapter::getSelectApplicationResponse |
( |
| ) |
const |
|
override |
◆ getSerialNumber()
| const std::vector< uint8_t > & keyple::card::calypso::CalypsoSamAdapter::getSerialNumber |
( |
| ) |
const |
|
override |
◆ getSoftwareIssuer()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareIssuer |
( |
| ) |
const |
|
override |
◆ getSoftwareRevision()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareRevision |
( |
| ) |
const |
|
override |
◆ getSoftwareVersion()
| uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareVersion |
( |
| ) |
const |
|
override |
◆ putEventCeiling()
| void keyple::card::calypso::CalypsoSamAdapter::putEventCeiling |
( |
const int |
eventCeilingNumber, |
|
|
const int |
eventCeilingValue |
|
) |
| |
(package-private)
Adds or replace an event counter.
- Parameters
-
| eventCeilingNumber | The number of the ceiling. |
| eventCeilingValue | The ceiling value. |
- Since
- 2.2.3
Definition at line 200 of file CalypsoSamAdapter.cpp.
◆ putEventCounter()
| void keyple::card::calypso::CalypsoSamAdapter::putEventCounter |
( |
const int |
eventCounterNumber, |
|
|
const int |
eventCounterValue |
|
) |
| |
(package-private)
Adds or replace an event counter.
- Parameters
-
| eventCounterNumber | The number of the counter. |
| eventCounterValue | The counter value. |
- Since
- 2.2.3
Definition at line 195 of file CalypsoSamAdapter.cpp.
The documentation for this class was generated from the following files: