Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
CmdSamPsoVerifySignature.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2021 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 <map>
16#include <memory>
17
18/* Calypsonet Terminal Calypso */
19#include "CalypsoSam.h"
20
21/* Keyple Card Calypso */
22#include "AbstractSamCommand.h"
24
25namespace keyple {
26namespace card {
27namespace calypso {
28
29using namespace calypsonet::terminal::calypso::sam;
30
38public:
48 const std::shared_ptr<TraceableSignatureVerificationDataAdapter> data);
49
55 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
56 override;
57
63 AbstractSamCommand& setApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse)
64 override;
65
66
67private:
71 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
72
76 const std::shared_ptr<TraceableSignatureVerificationDataAdapter> mData;
77
81 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
82};
83
84}
85}
86}
CmdSamPsoVerifySignature(const CalypsoSam::ProductType productType, const std::shared_ptr< TraceableSignatureVerificationDataAdapter > data)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractSamCommand & setApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
CalypsoSam::ProductType ProductType