Keypop Card C++ API 2.0.0
Reference Card API for C++
CardSelectionExtensionSpi.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
15
16namespace keypop {
17namespace card {
18namespace spi {
19
33public:
37 virtual ~CardSelectionExtensionSpi() = default;
38
45 virtual const std::shared_ptr<CardSelectionRequestSpi> getCardSelectionRequest() const = 0;
46
56 virtual std::shared_ptr<SmartCardSpi>
57 parse(const std::shared_ptr<CardSelectionRequestSpi> cardSelectionResponseApi) const = 0;
58};
59
60} /* namespace spi */
61} /* namespace card */
62} /* namespace keypop */
virtual std::shared_ptr< SmartCardSpi > parse(const std::shared_ptr< CardSelectionRequestSpi > cardSelectionResponseApi) const =0
virtual const std::shared_ptr< CardSelectionRequestSpi > getCardSelectionRequest() const =0