Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
SecureTransactionManager.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 <memory>
13
14namespace keypop {
15namespace calypso {
16namespace card {
17namespace transaction {
18
28template <typename T>
30public:
40 virtual std::shared_ptr<CardTransactionCryptoExtension>
41 getCryptoExtension(const std::type_info& cryptoExtensionClass) = 0;
42
63
74};
75
76} /* namespace transaction */
77} /* namespace card */
78} /* namespace calypso */
79} /* namespace keypop */
virtual SecureTransactionManager & prepareCancelSecureSession()=0
virtual std::shared_ptr< CardTransactionCryptoExtension > getCryptoExtension(const std::type_info &cryptoExtensionClass)=0
virtual SecureTransactionManager & prepareCloseSecureSession()=0