Keypop Calypso Crypto Legacy SAM C++ API - 1.0.0
Component of the Keypop C++ API
TraceableSignatureComputationData.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <cstdint>
14#include <vector>
15
18
19namespace keypop {
20namespace calypso {
21namespace crypto {
22namespace legacysam {
23namespace transaction {
24
38: public virtual SignatureComputationData<TraceableSignatureComputationData> {
39public:
63 const int offset, const SamTraceabilityMode samTraceabilityMode)
64 = 0;
65
80
90 virtual const std::vector<uint8_t>& getSignedData() const = 0;
91};
92
93} /* namespace transaction */
94} /* namespace legacysam */
95} /* namespace crypto */
96} /* namespace calypso */
97} /* namespace keypop */
Contains the input/output data of the FreeTransactionManager::prepareComputeSignature(SignatureComput...
Contains the input/output data of the FreeTransactionManager#prepareComputeSignature(SignatureComputa...
virtual TraceableSignatureComputationData & withSamTraceabilityMode(const int offset, const SamTraceabilityMode samTraceabilityMode)=0
Enables the "SAM traceability" mode to securely record in the data to sign the SAM serial number and ...
virtual TraceableSignatureComputationData & withoutBusyMode()=0
Disables the "Busy" mode.
virtual const std::vector< uint8_t > & getSignedData() const =0
Returns the data that was used to generate the signature.
SamTraceabilityMode
The SAM traceability mode to use with traceable signature operations.