Keypop Calypso Crypto Legacy SAM C++ API - 1.0.0
Component of the Keypop C++ API
CardTransactionLegacySamExtension.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
16#include "keypop/calypso/card/transaction/spi/CardTransactionCryptoExtension.hpp"
19
20namespace keypop {
21namespace calypso {
22namespace crypto {
23namespace legacysam {
24namespace transaction {
25
26using keypop::calypso::card::transaction::spi::CardTransactionCryptoExtension;
27
44: public CardTransactionCryptoExtension {
45public:
82 prepareComputeSignature(std::shared_ptr<SignatureComputationDataBase> data)
83 = 0;
84
106 prepareVerifySignature(std::shared_ptr<SignatureVerificationDataBase> data)
107 = 0;
108};
109
110} /* namespace transaction */
111} /* namespace legacysam */
112} /* namespace crypto */
113} /* namespace calypso */
114} /* namespace keypop */
Extends the CardTransactionCryptoExtension interface of the "Keypop Calypso Card API" to enrich the c...
virtual CardTransactionLegacySamExtension & prepareComputeSignature(std::shared_ptr< SignatureComputationDataBase > data)=0
Schedules the execution of a "Data Cipher" or "PSO Compute Signature" command.
virtual CardTransactionLegacySamExtension & prepareVerifySignature(std::shared_ptr< SignatureVerificationDataBase > data)=0
Schedules the execution of a "Data Cipher" or "PSO Verify Signature" command.