Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
CommonIsoCardSelector.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the MIT License which is available at *
9 * https://opensource.org/licenses/MIT *
10 * *
11 * SPDX-License-Identifier: MIT *
12 ******************************************************************************/
13
14#pragma once
15
16#include <string>
17#include <vector>
18
22
23namespace keypop {
24namespace reader {
25namespace selection {
26
42template <typename T>
44public:
60 virtual T& filterByDfName(const std::vector<uint8_t>& aid) = 0;
61
77 virtual T& filterByDfName(const std::string& aid) = 0;
78
89 virtual T& setFileOccurrence(FileOccurrence fileOccurrence) = 0;
90
101 virtual T&
103 = 0;
104};
105
106} /* namespace selection */
107} /* namespace reader */
108} /* namespace keypop */
Common filters used to restrict the selection process to certain cards.
Common ISO filters used to restrict the selection process to certain ISO 7816-4 cards.
virtual T & setFileControlInformation(FileControlInformation fileControlInformation)=0
Sets the file control mode (see ISO7816-4).
virtual T & filterByDfName(const std::string &aid)=0
Selects a card application DF by its name.
virtual T & filterByDfName(const std::vector< uint8_t > &aid)=0
Selects a card application DF by its name.
virtual T & setFileOccurrence(FileOccurrence fileOccurrence)=0
Sets the file occurrence mode (see ISO7816-4).
FileControlInformation
Types of templates available in return for the Select Application command, according to the ISO7816-4...
FileOccurrence
Navigation options through the different applications contained in the card according to the ISO7816-...