Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
FileControlInformation.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 <iostream>
17
18
namespace
keypop
{
19
namespace
reader {
20
namespace
selection {
21
28
enum class
FileControlInformation
{
34
FCI
,
35
41
FCP
,
42
48
FMD
,
49
55
NO_RESPONSE
56
};
57
58
static
inline
std::ostream&
59
operator<<
(std::ostream& os,
const
FileControlInformation
fci)
60
{
61
os <<
"FILE_CONTROL_INFORMATION: "
;
62
switch
(fci) {
63
case
FileControlInformation::FCI
:
64
os <<
"FCI"
;
65
break
;
66
case
FileControlInformation::FCP
:
67
os <<
"FCP"
;
68
break
;
69
case
FileControlInformation::FMD
:
70
os <<
"FMD"
;
71
break
;
72
case
FileControlInformation::NO_RESPONSE
:
73
os <<
"NO_RESPONSE"
;
74
break
;
75
default
:
76
os <<
"UNKNOWN"
;
77
break
;
78
}
79
80
return
os;
81
}
82
83
}
/* namespace selection */
84
}
/* namespace reader */
85
}
/* namespace keypop */
keypop::reader::selection::FileControlInformation
FileControlInformation
Types of templates available in return for the Select Application command, according to the ISO7816-4...
Definition:
FileControlInformation.hpp:28
keypop::reader::selection::FileControlInformation::FMD
@ FMD
File management data.
keypop::reader::selection::FileControlInformation::FCI
@ FCI
File control information.
keypop::reader::selection::FileControlInformation::NO_RESPONSE
@ NO_RESPONSE
No response expected.
keypop::reader::selection::FileControlInformation::FCP
@ FCP
File control parameters.
keypop::reader::operator<<
std::ostream & operator<<(std::ostream &os, const CardReaderEvent::Type type)
Operator << for CardReaderEvent::Type enum to enable readable logging.
Definition:
CardReaderEvent.hpp:115
keypop
Definition:
CardCommunicationException.hpp:20
keypop
reader
selection
FileControlInformation.hpp
Generated by
1.9.2