Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
include
keypop
calypso
card
card
FileHeader.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
#include <memory>
15
#include <vector>
16
17
#include "
keypop/calypso/card/card/ElementaryFile.hpp
"
18
19
namespace
keypop
{
20
namespace
calypso {
21
namespace
card {
22
namespace
card {
23
29
class
FileHeader
{
30
public
:
37
virtual
uint16_t
getLid
()
const
= 0;
38
47
virtual
const
std::shared_ptr<uint8_t>
getDfStatus
()
const
= 0;
48
55
virtual
ElementaryFile::Type
getEfType
()
const
= 0;
56
69
virtual
int
getRecordsNumber
()
const
= 0;
70
84
virtual
int
getRecordSize
()
const
= 0;
85
94
virtual
const
std::vector<uint8_t>&
getAccessConditions
()
const
= 0;
95
104
virtual
const
std::vector<uint8_t>&
getKeyIndexes
()
const
= 0;
105
115
virtual
const
std::shared_ptr<uint16_t>
getSharedReference
()
const
= 0;
116
};
117
118
}
/* namespace card */
119
}
/* namespace card */
120
}
/* namespace calypso */
121
}
/* namespace keypop */
ElementaryFile.hpp
keypop::calypso::card::card::ElementaryFile::Type
Type
Definition:
ElementaryFile.hpp:39
keypop::calypso::card::card::FileHeader
Definition:
FileHeader.hpp:29
keypop::calypso::card::card::FileHeader::getSharedReference
virtual const std::shared_ptr< uint16_t > getSharedReference() const =0
keypop::calypso::card::card::FileHeader::getRecordsNumber
virtual int getRecordsNumber() const =0
keypop::calypso::card::card::FileHeader::getEfType
virtual ElementaryFile::Type getEfType() const =0
keypop::calypso::card::card::FileHeader::getDfStatus
virtual const std::shared_ptr< uint8_t > getDfStatus() const =0
keypop::calypso::card::card::FileHeader::getAccessConditions
virtual const std::vector< uint8_t > & getAccessConditions() const =0
keypop::calypso::card::card::FileHeader::getRecordSize
virtual int getRecordSize() const =0
keypop::calypso::card::card::FileHeader::getKeyIndexes
virtual const std::vector< uint8_t > & getKeyIndexes() const =0
keypop::calypso::card::card::FileHeader::getLid
virtual uint16_t getLid() const =0
keypop
Definition:
CalypsoCardApiFactory.hpp:23
Generated by
1.9.2