Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
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
17
18namespace keypop {
19namespace calypso {
20namespace card {
21namespace card {
22
29public:
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 */
virtual const std::shared_ptr< uint16_t > getSharedReference() const =0
virtual int getRecordsNumber() const =0
virtual ElementaryFile::Type getEfType() const =0
virtual const std::shared_ptr< uint8_t > getDfStatus() const =0
virtual const std::vector< uint8_t > & getAccessConditions() const =0
virtual int getRecordSize() const =0
virtual const std::vector< uint8_t > & getKeyIndexes() const =0
virtual uint16_t getLid() const =0