Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
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
18
19namespace keypop {
20namespace calypso {
21namespace card {
22namespace card {
23
30public:
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 */
virtual const std::vector< uint8_t > & getKeyIndexes() const =0
virtual const std::vector< uint8_t > & getAccessConditions() const =0
virtual uint8_t getKif(const WriteAccessLevel writeAccessLevel) const =0
virtual uint8_t getKvc(const WriteAccessLevel writeAccessLevel) const =0
virtual uint8_t getDfStatus() const =0