Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
src
main
CmdCardGetChallenge.h
Go to the documentation of this file.
1
/**************************************************************************************************
2
* Copyright (c) 2023 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
#include <cstdint>
16
#include <map>
17
#include <memory>
18
#include <vector>
19
20
/* Calypsonet Terminal Calypso */
21
#include "CalypsoCard.h"
22
23
/* Keyple Card Calypso */
24
#include "
AbstractApduCommand.h
"
25
#include "
AbstractCardCommand.h
"
26
#include "
CalypsoCardAdapter.h
"
27
#include "
CalypsoCardClass.h
"
28
29
/* Keyple Core Util */
30
#include "LoggerFactory.h"
31
32
namespace
keyple
{
33
namespace
card {
34
namespace
calypso {
35
36
using namespace
calypsonet::terminal::calypso::card;
37
using namespace
keyple::core::util::cpp;
38
39
using
StatusProperties
=
AbstractApduCommand::StatusProperties
;
40
47
class
CmdCardGetChallenge
final :
public
AbstractCardCommand
{
48
public
:
56
CmdCardGetChallenge
(
const
std::shared_ptr<CalypsoCardAdapter> calypsoCard);
57
64
void
parseApduResponse
(
const
std::shared_ptr<ApduResponseApi> apduResponse)
override
;
65
72
bool
isSessionBufferUsed
()
const override
;
73
74
private
:
78
static
const
CalypsoCardCommand
mCommand;
79
};
80
81
}
82
}
83
}
AbstractApduCommand.h
AbstractCardCommand.h
CalypsoCardAdapter.h
CalypsoCardClass.h
keyple::card::calypso::AbstractCardCommand
Definition:
AbstractCardCommand.h:32
keyple::card::calypso::CalypsoCardCommand
Definition:
CalypsoCardCommand.h:31
keyple::card::calypso::CmdCardGetChallenge
Definition:
CmdCardGetChallenge.h:47
keyple::card::calypso::CmdCardGetChallenge::CmdCardGetChallenge
CmdCardGetChallenge(const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
Definition:
CmdCardGetChallenge.cpp:39
keyple::card::calypso::CmdCardGetChallenge::isSessionBufferUsed
bool isSessionBufferUsed() const override
Definition:
CmdCardGetChallenge.cpp:64
keyple::card::calypso::CmdCardGetChallenge::parseApduResponse
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
Definition:
CmdCardGetChallenge.cpp:56
keyple::card::calypso::StatusProperties
AbstractApduCommand::StatusProperties StatusProperties
Definition:
AbstractApduCommand.cpp:52
keyple
Definition:
AbstractApduCommand.cpp:46
Generated by
1.9.2