Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
CmdSamPsoComputeSignature.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
17/* Calypsonet Terminal Calypso */
18#include "CalypsoSam.h"
19
20/* Keyple Card Calypso */
21#include "AbstractSamCommand.h"
23
24namespace keyple {
25namespace card {
26namespace calypso {
27
28using namespace calypsonet::terminal::calypso::sam;
29
37public:
47 const std::shared_ptr<TraceableSignatureComputationDataAdapter> data);
48
54 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
55 override;
56
62 AbstractSamCommand& setApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse)
63 override;
64
65
66private:
70 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
71
75 const std::shared_ptr<TraceableSignatureComputationDataAdapter> mData;
76
80 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
81};
82
83}
84}
85}
CmdSamPsoComputeSignature(const CalypsoSam::ProductType productType, const std::shared_ptr< TraceableSignatureComputationDataAdapter > data)
AbstractSamCommand & setApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
CalypsoSam::ProductType ProductType