Keypop Calypso Crypto Symmetric C++ API 0.1.1
Reference Calypso Crypto Symmetric API for C++
SvCommandSecurityDataApi.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#include <vector>
14
15namespace keypop {
16namespace calypso {
17namespace crypto {
18namespace symmetric {
19
26public:
33 virtual const std::vector<uint8_t>& getSvGetRequest() const = 0;
34
41 virtual const std::vector<uint8_t>& getSvGetResponse() const = 0;
42
49 virtual const std::vector<uint8_t>& getSvCommandPartialRequest() const = 0;
50
58 virtual SvCommandSecurityDataApi& setSerialNumber(const std::vector<uint8_t>& serialNumber) = 0;
59
68 setTransactionNumber(const std::vector<uint8_t>& transactionNumber)
69 = 0;
70
79 setTerminalChallenge(const std::vector<uint8_t>& terminalChallenge)
80 = 0;
81
89 virtual SvCommandSecurityDataApi setTerminalSvMac(const std::vector<uint8_t>& terminalSvMac)
90 = 0;
91};
92
93} /* namespace symmetric */
94} /* namespace crypto */
95} /* namespace calypso */
96} /* namespace keypop */
virtual SvCommandSecurityDataApi setTerminalChallenge(const std::vector< uint8_t > &terminalChallenge)=0
virtual const std::vector< uint8_t > & getSvGetResponse() const =0
virtual SvCommandSecurityDataApi & setTransactionNumber(const std::vector< uint8_t > &transactionNumber)=0
virtual SvCommandSecurityDataApi setTerminalSvMac(const std::vector< uint8_t > &terminalSvMac)=0
virtual const std::vector< uint8_t > & getSvCommandPartialRequest() const =0
virtual const std::vector< uint8_t > & getSvGetRequest() const =0
virtual SvCommandSecurityDataApi & setSerialNumber(const std::vector< uint8_t > &serialNumber)=0