Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
SymmetricCryptoSecuritySetting.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <cstdint>
13
14#include "keypop/calypso/card/WriteAccesLevel.hpp"
15
16namespace keypop {
17namespace calypso {
18namespace card {
19namespace transaction {
20
32public:
41
50
58
68
78
92
104 assignKif(const WriteAccessLevel writeAccessLevel, const uint8_t kvc, const uint8_t kif)
105 = 0;
106
118 assignDefaultKif(const WriteAccessLevel writeAccessLevel, const uint8_t kif)
119 = 0;
120
132 assignDefaultKvc(const WriteAccessLevel writeAccessLevel, const uint8_t kvc)
133 = 0;
134
147 addAuthorizedSessionKey(const uint8_t kif, const uint8_t kvc)
148 = 0;
149
161 virtual SymmetricCryptoSecuritySetting& addAuthorizedSvKey(const uint8_t kif, const uint8_t kvc)
162 = 0;
163
175 setPinVerificationCipheringKey(const uint8_t kif, const uint8_t kvc)
176 = 0;
177
189 setPinModificationCipheringKey(const uint8_t kif, const uint8_t kvc)
190 = 0;
191
210};
211
212} /* namespace transaction */
213} /* namespace card */
214} /* namespace calypso */
215} /* namespace keypop */
virtual SymmetricCryptoSecuritySetting & enableMultipleSession()=0
virtual SymmetricCryptoSecuritySetting & enableSvLoadAndDebitLog()=0
virtual SymmetricCryptoSecuritySetting & enableRatificationMechanism()=0
virtual SymmetricCryptoSecuritySetting & setPinModificationCipheringKey(const uint8_t kif, const uint8_t kvc)=0
virtual SymmetricCryptoSecuritySetting & addAuthorizedSessionKey(const uint8_t kif, const uint8_t kvc)=0
virtual SymmetricCryptoSecuritySetting & enablePinPlainTransmission()=0
virtual SymmetricCryptoSecuritySetting & authorizeSvNegativeBalance()=0
virtual SymmetricCryptoSecuritySetting & assignDefaultKvc(const WriteAccessLevel writeAccessLevel, const uint8_t kvc)=0
virtual SymmetricCryptoSecuritySetting & disableReadOnSessionOpening()=0
virtual SymmetricCryptoSecuritySetting & addAuthorizedSvKey(const uint8_t kif, const uint8_t kvc)=0
virtual SymmetricCryptoSecuritySetting & setPinVerificationCipheringKey(const uint8_t kif, const uint8_t kvc)=0
virtual SymmetricCryptoSecuritySetting & assignKif(const WriteAccessLevel writeAccessLevel, const uint8_t kvc, const uint8_t kif)=0
virtual SymmetricCryptoSecuritySetting & assignDefaultKif(const WriteAccessLevel writeAccessLevel, const uint8_t kif)=0