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) 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
#include <memory>
14
#include <vector>
15
16
#include "
keypop/calypso/card/card/ElementaryFile.hpp
"
17
18
namespace
keypop
{
19
namespace
calypso {
20
namespace
card {
21
namespace
card {
22
28
class
FileHeader
{
29
public
:
36
virtual
uint16_t
getLid
()
const
= 0;
37
45
virtual
const
std::shared_ptr<uint8_t>
getDfStatus
()
const
= 0;
46
53
virtual
ElementaryFile::Type
getEfType
()
const
= 0;
54
67
virtual
int
getRecordsNumber
()
const
= 0;
68
81
virtual
int
getRecordSize
()
const
= 0;
82
91
virtual
const
std::vector<uint8_t>&
getAccessConditions
()
const
= 0;
92
101
virtual
const
std::vector<uint8_t>&
getKeyIndexes
()
const
= 0;
102
111
virtual
const
std::shared_ptr<uint16_t>
getSharedReference
()
const
= 0;
112
};
113
114
}
/* namespace card */
115
}
/* namespace card */
116
}
/* namespace calypso */
117
}
/* namespace keypop */
ElementaryFile.hpp
keypop::calypso::card::card::ElementaryFile::Type
Type
Definition:
ElementaryFile.hpp:38
keypop::calypso::card::card::FileHeader
Definition:
FileHeader.hpp:28
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:22
Generated by
1.9.2