Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
src
main
SamUtilAdapter.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
* Copyright (c) 2022 Calypso Networks Association https://calypsonet.org/ *
3
* *
4
* See the NOTICE file(s) distributed with this work for additional information regarding *
5
* copyright ownership. *
6
* *
7
* This program and the accompanying materials are made available under the terms of the Eclipse *
8
* Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9
* *
10
* SPDX-License-Identifier: EPL-2.0 *
11
**************************************************************************************************/
12
13
#pragma once
14
15
/* Calypsonet Terminal Calypso */
16
#include "CalypsoSam.h"
17
18
namespace
keyple
{
19
namespace
card {
20
namespace
calypso {
21
22
using namespace
calypsonet::terminal::calypso::sam;
23
24
using
ProductType
=
CalypsoSam::ProductType
;
25
29
class
SamUtilAdapter
final {
30
public
:
39
static
uint8_t
getClassByte
(
const
ProductType
productType);
40
41
private
:
45
SamUtilAdapter
();
46
};
47
48
}
49
}
50
}
keyple::card::calypso::SamUtilAdapter
Definition:
SamUtilAdapter.h:29
keyple::card::calypso::SamUtilAdapter::getClassByte
static uint8_t getClassByte(const ProductType productType)
Definition:
SamUtilAdapter.cpp:21
keyple::card::calypso::ProductType
CalypsoSam::ProductType ProductType
Definition:
CardSecuritySettingAdapter.cpp:26
keyple
Definition:
AbstractApduCommand.cpp:20
Generated by
1.9.2