Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
TraceableSignatureComputationData.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
17
18namespace keypop {
19namespace calypso {
20namespace crypto {
21namespace legacysam {
22namespace transaction {
23
36: public SignatureComputationData<TraceableSignatureComputationData> {
37public:
58 withSamTraceabilityMode(const int offset, const SamTraceabilityMode samTraceabilityMode)
59 = 0;
60
73
83 virtual const std::vector<uint8_t>& getSignedData() const = 0;
84};
85
86} /* namespace transaction */
87} /* namespace legacysam */
88} /* namespace crypto */
89} /* namespace calypso */
90} /* namespace keypop */
virtual TraceableSignatureComputationData & withSamTraceabilityMode(const int offset, const SamTraceabilityMode samTraceabilityMode)=0