Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
include
keypop
calypso
card
card
DirectoryHeader.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
#pragma once
13
14
#include <cstdint>
15
#include <vector>
16
17
#include "
keypop/calypso/card/WriteAccessLevel.hpp
"
18
19
namespace
keypop
{
20
namespace
calypso {
21
namespace
card {
22
namespace
card {
23
29
class
DirectoryHeader
{
30
public
:
37
virtual
uint16_t
getLid
()
const
= 0;
38
45
virtual
uint8_t
getDfStatus
()
const
= 0;
46
53
virtual
const
std::vector<uint8_t>&
getAccessConditions
()
const
= 0;
54
61
virtual
const
std::vector<uint8_t>&
getKeyIndexes
()
const
= 0;
62
71
virtual
uint8_t
getKif
(
const
WriteAccessLevel
writeAccessLevel)
const
= 0;
72
81
virtual
uint8_t
getKvc
(
const
WriteAccessLevel
writeAccessLevel)
const
= 0;
82
};
83
84
}
/* namespace card */
85
}
/* namespace card */
86
}
/* namespace calypso */
87
}
/* namespace keypop */
WriteAccessLevel.hpp
keypop::calypso::card::card::DirectoryHeader
Definition:
DirectoryHeader.hpp:29
keypop::calypso::card::card::DirectoryHeader::getLid
virtual uint16_t getLid() const =0
keypop::calypso::card::card::DirectoryHeader::getKeyIndexes
virtual const std::vector< uint8_t > & getKeyIndexes() const =0
keypop::calypso::card::card::DirectoryHeader::getAccessConditions
virtual const std::vector< uint8_t > & getAccessConditions() const =0
keypop::calypso::card::card::DirectoryHeader::getKif
virtual uint8_t getKif(const WriteAccessLevel writeAccessLevel) const =0
keypop::calypso::card::card::DirectoryHeader::getKvc
virtual uint8_t getKvc(const WriteAccessLevel writeAccessLevel) const =0
keypop::calypso::card::card::DirectoryHeader::getDfStatus
virtual uint8_t getDfStatus() const =0
keypop::calypso::card::WriteAccessLevel
WriteAccessLevel
Definition:
WriteAccessLevel.hpp:26
keypop
Definition:
CalypsoCardApiFactory.hpp:22
Generated by
1.9.2