Keypop Calypso Card C++ API - 2.2.0
Component of the Keypop C++ API
SecureTransactionManager.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 <memory>
14
17
18namespace keypop {
19namespace calypso {
20namespace card {
21namespace transaction {
22
24
35template <typename T>
37public:
45 virtual std::shared_ptr<CardTransactionCryptoExtension> getCryptoExtension()
46 = 0;
47
68 virtual T& prepareCloseSecureSession() = 0;
69
81};
82
83} /* namespace transaction */
84} /* namespace card */
85} /* namespace calypso */
86} /* namespace keypop */
Contains operations common to all card transactions secured by cryptographic algorithms.
virtual std::shared_ptr< CardTransactionCryptoExtension > getCryptoExtension()=0
Returns the associated CardTransactionCryptoExtension instance.
virtual T & prepareCloseSecureSession()=0
Schedules the execution of a "Close Secure Session" command.
virtual T & prepareCancelSecureSession()=0
Schedules the execution of a special "Close Secure Session" command in order to abort the current sec...
Contains operations common to all card transactions.
SPI provided by the crypto extension associated with the current transaction, enriching the card tran...