Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
CalypsoCardApiFactory.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
20#include "keypop/calypso/reader/CardReader.hpp"
21
22namespace keypop {
23namespace calypso {
24namespace card {
25
32public:
39 virtual std::shared_ptr<CalypsoCardSelectionExtension> createCalypsoCardSelectionExtension()
40 = 0;
41
51 virtual std::shared_ptr<SymmetricCryptoSecuritySetting> createSymmetricCryptoSecuritySetting(
52 const std::shared_ptr<SymmetricCryptoCardTransactionManagerFactory>
53 cryptoCardTransactionManagerFactory)
54 = 0
55
65 virtual std::shared_ptr<FreeTransactionManager> createFreeTransactionManager(
66 const std::shared_ptr<CardReader> cardReader, const std::shared_ptr<CalypsoCard> card)
67 = 0;
68
79 virtual std::shared_ptr<SecureRegularModeTransactionManager>
81 const std::shared_ptr<CardReader> cardReader,
82 const std::shared_ptr<CalypsoCard> card,
83 const std::shared_ptr<SymmetricCryptoSecuritySetting> securitySetting)
84 = 0;
85
96 virtual std::shared_ptr<SecureExtendedModeTransactionManager>
98 const std::shared_ptr<CardReader> cardReader,
99 const std::shared_ptr<CalypsoCard> card,
100 const std::shared_ptr<SymmetricCryptoSecuritySetting> securitySetting)
101 = 0;
102
109 virtual std::shared_ptr<SearchCommandData> createSearchCommandData() = 0;
110};
111
112} /* namespace card */
113} /* namespace calypso */
114} /* namespace keypop */
virtual std::shared_ptr< SymmetricCryptoSecuritySetting > virtual createSymmetricCryptoSecuritySetting(const std::shared_ptr< SymmetricCryptoCardTransactionManagerFactory > cryptoCardTransactionManagerFactory)=0 virtual std std::shared_ptr< SecureRegularModeTransactionManager > createSecureRegularModeTransactionManager(const std::shared_ptr< CardReader > cardReader, const std::shared_ptr< CalypsoCard > card, const std::shared_ptr< SymmetricCryptoSecuritySetting > securitySetting)=0
virtual std::shared_ptr< SearchCommandData > createSearchCommandData()=0
virtual std::shared_ptr< SecureExtendedModeTransactionManager > createSecureExtendedModeTransactionManager(const std::shared_ptr< CardReader > cardReader, const std::shared_ptr< CalypsoCard > card, const std::shared_ptr< SymmetricCryptoSecuritySetting > securitySetting)=0
virtual std::shared_ptr< CalypsoCardSelectionExtension > createCalypsoCardSelectionExtension()=0