Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
CalypsoCardSelectionExtension.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 <cstdint>
13
16#include "keypop/reader/selection/spi/CardSelectionExtension.hpp"
17
18namespace keypop {
19namespace calypso {
20namespace card {
21namespace card {
22
23using keypop::reader::selection::spi::CardSelectionExtension;
24
56class CalypsoCardSelectionExtension : public CardSelectionExtension {
57public:
68
81 virtual CalypsoCardSelectionExtension& prepareSelectFile(const uint16_t lid) = 0;
82
96 = 0;
97
113
131 prepareReadRecord(const uint8_t sfi, const int recordNumber)
132 = 0;
133
152 prepareReadBinary(const uint8_t sfi, const int offset, const int nbBytesToRead)
153 = 0;
154
176 prepareReadCounter(const uint8_t sfi, const int nbCountersToRead)
177 = 0;
178
230 = 0;
231
276 // CalypsoCardSelectionExtension preparePreOpenSecureSessionInPkiMode();
277};
278
279} /* namespace card */
280} /* namespace card */
281} /* namespace calypso */
282} /* namespace keypop */
virtual CalypsoCardSelectionExtension & prepareReadRecord(const uint8_t sfi, const int recordNumber)=0
virtual CalypsoCardSelectionExtension & prepareReadBinary(const uint8_t sfi, const int offset, const int nbBytesToRead)=0
virtual CalypsoCardSelectionExtension & acceptInvalidatedCard()=0
virtual CalypsoCardSelectionExtension & preparePreOpenSecureSession(const WriteAccessLevel writeAccessLevel)=0
virtual CalypsoCardSelectionExtension & prepareSelectFile(const SelectFileControl selectControl)=0
virtual CalypsoCardSelectionExtension & prepareReadCounter(const uint8_t sfi, const int nbCountersToRead)=0
virtual CalypsoCardSelectionExtension & prepareSelectFile(const uint16_t lid)=0
virtual CalypsoCardSelectionExtension & prepareGetData(const GetDataTag tag)=0