20namespace transaction {
Security setting for a Calypso card transaction secured by "symmetric" key cryptographic algorithms (...
virtual SymmetricCryptoSecuritySetting & enableMultipleSession()=0
Enables multiple session mode to allow more changes to the card than the session buffer can handle.
virtual SymmetricCryptoSecuritySetting & enableSvLoadAndDebitLog()=0
Enables the retrieval of both loading and debit log records.
virtual void initCryptoContextForNextTransaction()=0
Prepares the cryptographic module for the next transaction by anticipating all security context confi...
virtual SymmetricCryptoSecuritySetting & enableRatificationMechanism()=0
Enables the ratification mechanism to handle the early removal of the card preventing the terminal fr...
virtual SymmetricCryptoSecuritySetting & setPinModificationCipheringKey(const uint8_t kif, const uint8_t kvc)=0
Sets the KIF/KVC pair of the PIN modification ciphering key.
virtual SymmetricCryptoSecuritySetting & addAuthorizedSessionKey(const uint8_t kif, const uint8_t kvc)=0
Adds an authorized session key defined by its KIF and KVC values.
virtual SymmetricCryptoSecuritySetting & enablePinPlainTransmission()=0
Enables the PIN transmission in plain text.
virtual ~SymmetricCryptoSecuritySetting()=default
Virtual destructor.
virtual SymmetricCryptoSecuritySetting & assignKif(WriteAccessLevel writeAccessLevel, std::uint8_t kvc, std::uint8_t kif)=0
Defines for a given write access level the KIF value to use for cards that only provide KVC.
virtual SymmetricCryptoSecuritySetting & authorizeSvNegativeBalance()=0
Allows the SV balance to become negative.
virtual SymmetricCryptoSecuritySetting & assignDefaultKvc(const WriteAccessLevel writeAccessLevel, const uint8_t kvc)=0
Defines for a given write access level the KVC value to use for cards that do not provide KVC.
virtual SymmetricCryptoSecuritySetting & disableReadOnSessionOpening()=0
Disables the automatic merging of the "Open Secure Session" command with a possible "Read Record" com...
virtual SymmetricCryptoSecuritySetting & addAuthorizedSvKey(const uint8_t kif, const uint8_t kvc)=0
Adds an authorized Stored Value key defined by its KIF and KVC values.
virtual SymmetricCryptoSecuritySetting & setPinVerificationCipheringKey(const uint8_t kif, const uint8_t kvc)=0
Sets the KIF/KVC pair of the PIN verification ciphering key.
virtual SymmetricCryptoSecuritySetting & assignDefaultKif(const WriteAccessLevel writeAccessLevel, const uint8_t kif)=0
Defines for a given write access level the default KIF value to use when it could not be determined b...
WriteAccessLevel
Enumeration of the write access levels for the Calypso card Secure Session.