#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 |
|
final |
◆ getApplicationType()
uint8_t keyple::card::calypso::CalypsoSamAdapter::getApplicationType |
( |
| ) |
const |
|
final |
◆ 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 113 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 102 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 118 of file CalypsoSamAdapter.cpp.
◆ getPlatform()
uint8_t keyple::card::calypso::CalypsoSamAdapter::getPlatform |
( |
| ) |
const |
|
final |
◆ 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 149 of file CalypsoSamAdapter.cpp.
◆ getProductType()
CalypsoSam::ProductType keyple::card::calypso::CalypsoSamAdapter::getProductType |
( |
| ) |
const |
|
final |
◆ 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 |
|
final |
◆ getSoftwareIssuer()
uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareIssuer |
( |
| ) |
const |
|
final |
◆ getSoftwareRevision()
uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareRevision |
( |
| ) |
const |
|
final |
◆ getSoftwareVersion()
uint8_t keyple::card::calypso::CalypsoSamAdapter::getSoftwareVersion |
( |
| ) |
const |
|
final |
The documentation for this class was generated from the following files: