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) 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 <cstdint>
14
17#include "keypop/reader/selection/spi/CardSelectionExtension.hpp"
18
19namespace keypop {
20namespace calypso {
21namespace card {
22namespace card {
23
24using keypop::reader::selection::spi::CardSelectionExtension;
25
59class CalypsoCardSelectionExtension : public CardSelectionExtension {
60public:
71
86 = 0;
87
104 = 0;
105
123 = 0;
124
145 prepareReadRecord(const uint8_t sfi, const int recordNumber)
146 = 0;
147
170 const uint8_t sfi, const int offset, const int nbBytesToRead)
171 = 0;
172
196 prepareReadCounter(const uint8_t sfi, const int nbCountersToRead)
197 = 0;
198
254 = 0;
255
304 // CalypsoCardSelectionExtension preparePreOpenSecureSessionInPkiMode();
305};
306
307} /* namespace card */
308} /* namespace card */
309} /* namespace calypso */
310} /* 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