![]() |
Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
|
#include <CardSecuritySettingAdapter.h>
Public Member Functions | |
CardSecuritySetting & | setSamResource (const std::shared_ptr< CardReader > samReader, const std::shared_ptr< CalypsoSam > calypsoSam) override |
CardSecuritySettingAdapter & | enableMultipleSession () override |
CardSecuritySettingAdapter & | enableRatificationMechanism () override |
CardSecuritySettingAdapter & | enablePinPlainTransmission () override |
CardSecuritySettingAdapter & | enableSvLoadAndDebitLog () override |
CardSecuritySettingAdapter & | authorizeSvNegativeBalance () override |
CardSecuritySettingAdapter & | assignKif (const WriteAccessLevel writeAccessLevel, const uint8_t kvc, const uint8_t kif) override |
CardSecuritySettingAdapter & | assignDefaultKif (const WriteAccessLevel writeAccessLevel, const uint8_t kif) override |
CardSecuritySettingAdapter & | assignDefaultKvc (const WriteAccessLevel writeAccessLevel, const uint8_t kvc) override |
CardSecuritySettingAdapter & | addAuthorizedSessionKey (const uint8_t kif, const uint8_t kvc) override |
CardSecuritySettingAdapter & | addAuthorizedSvKey (const uint8_t kif, const uint8_t kvc) override |
CardSecuritySettingAdapter & | setPinVerificationCipheringKey (const uint8_t kif, const uint8_t kvc) override |
CardSecuritySettingAdapter & | setPinModificationCipheringKey (const uint8_t kif, const uint8_t kvc) override |
bool | isMultipleSessionEnabled () const |
bool | isRatificationMechanismEnabled () const |
bool | isPinPlainTransmissionEnabled () const |
bool | isSvLoadAndDebitLogEnabled () const |
bool | isSvNegativeBalanceAuthorized () const |
const std::shared_ptr< uint8_t > | getKif (const WriteAccessLevel writeAccessLevel, const uint8_t kvc) const |
const std::shared_ptr< uint8_t > | getDefaultKif (const WriteAccessLevel writeAccessLevel) const |
const std::shared_ptr< uint8_t > | getDefaultKvc (const WriteAccessLevel writeAccessLevel) const |
bool | isSessionKeyAuthorized (const std::shared_ptr< uint8_t > kif, const std::shared_ptr< uint8_t > kvc) const |
bool | isSvKeyAuthorized (const std::shared_ptr< uint8_t > kif, const std::shared_ptr< uint8_t > kvc) const |
const std::shared_ptr< uint8_t > | getPinVerificationCipheringKif () const |
const std::shared_ptr< uint8_t > | getPinVerificationCipheringKvc () const |
const std::shared_ptr< uint8_t > | getPinModificationCipheringKif () const |
const std::shared_ptr< uint8_t > | getPinModificationCipheringKvc () const |
![]() | |
CardSecuritySetting & | setControlSamResource (const std::shared_ptr< CardReader > samReader, const std::shared_ptr< CalypsoSam > calypsoSam) final |
CardSecuritySetting & | setSamRevocationService (const std::shared_ptr< SamRevocationServiceSpi > service) final |
std::shared_ptr< ProxyReaderApi > | getControlSamReader () const |
std::shared_ptr< CalypsoSamAdapter > | getControlSam () const |
std::shared_ptr< SamRevocationServiceSpi > | getSamRevocationServiceSpi () const |
(package-private)
Implementation of CardSecuritySetting.
Definition at line 46 of file CardSecuritySettingAdapter.h.
|
override |
Definition at line 97 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 105 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 81 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 89 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 72 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 65 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 37 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 51 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 44 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 58 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getDefaultKif | ( | const WriteAccessLevel | writeAccessLevel | ) | const |
(package-private)
Gets the default KIF value for the provided write access level.
writeAccessLevel | The write access level. |
IllegalArgumentException | If the provided argument is null. |
Definition at line 172 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getDefaultKvc | ( | const WriteAccessLevel | writeAccessLevel | ) | const |
(package-private)
Gets the default KVC value for the provided write access level.
writeAccessLevel | The write access level. |
IllegalArgumentException | If the provided argument is null. |
Definition at line 183 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getKif | ( | const WriteAccessLevel | writeAccessLevel, |
const uint8_t | kvc | ||
) | const |
(package-private)
Gets the KIF value to use for the provided write access level and KVC value.
writeAccessLevel | The write access level. |
kvc | The KVC value. |
IllegalArgumentException | If the provided writeAccessLevel is null. |
Definition at line 156 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getPinModificationCipheringKif | ( | ) | const |
(package-private)
Gets the KIF value of the PIN modification ciphering key.
Definition at line 234 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getPinModificationCipheringKvc | ( | ) | const |
(package-private)
Gets the KVC value of the PIN modification ciphering key.
Definition at line 239 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getPinVerificationCipheringKif | ( | ) | const |
(package-private)
Gets the KIF value of the PIN verification ciphering key.
Definition at line 224 of file CardSecuritySettingAdapter.cpp.
const std::shared_ptr< uint8_t > keyple::card::calypso::CardSecuritySettingAdapter::getPinVerificationCipheringKvc | ( | ) | const |
(package-private)
Gets the KVC value of the PIN verification ciphering key.
Definition at line 229 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isMultipleSessionEnabled | ( | ) | const |
(package-private)
Indicates if the multiple session mode is enabled.
Definition at line 131 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isPinPlainTransmissionEnabled | ( | ) | const |
(package-private)
Indicates if the transmission of the PIN in plain text is enabled.
Definition at line 141 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isRatificationMechanismEnabled | ( | ) | const |
(package-private)
Indicates if the ratification mechanism is enabled.
Definition at line 136 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isSessionKeyAuthorized | ( | const std::shared_ptr< uint8_t > | kif, |
const std::shared_ptr< uint8_t > | kvc | ||
) | const |
(package-private)
Indicates if the KIF/KVC pair is authorized for a session.
kif | The KIF value. |
kvc | The KVC value. |
Definition at line 194 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isSvKeyAuthorized | ( | const std::shared_ptr< uint8_t > | kif, |
const std::shared_ptr< uint8_t > | kvc | ||
) | const |
(package-private)
Indicates if the KIF/KVC pair is authorized for a SV operation.
kif | The KIF value. |
kvc | The KVC value. |
Definition at line 209 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isSvLoadAndDebitLogEnabled | ( | ) | const |
(package-private)
Indicates if the retrieval of both load and debit log is enabled.
Definition at line 146 of file CardSecuritySettingAdapter.cpp.
bool keyple::card::calypso::CardSecuritySettingAdapter::isSvNegativeBalanceAuthorized | ( | ) | const |
(package-private)
Indicates if the SV balance is allowed to become negative.
Definition at line 151 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 122 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 113 of file CardSecuritySettingAdapter.cpp.
|
override |
Definition at line 30 of file CardSecuritySettingAdapter.cpp.