Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamPsoComputeSignature.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 <map>
16
17/* Keyple Card Calypso */
18#include "AbstractSamCommand.h"
20
21namespace keyple {
22namespace card {
23namespace calypso {
24
32public:
41 CmdSamPsoComputeSignature(const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
42 const std::shared_ptr<TraceableSignatureComputationDataAdapter> data);
43
49 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
50 override;
51
57 void parseApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse) override;
58
59
60private:
64 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
65
69 const std::shared_ptr<TraceableSignatureComputationDataAdapter> mData;
70
74 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
75};
76
77}
78}
79}
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
CmdSamPsoComputeSignature(const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const std::shared_ptr< TraceableSignatureComputationDataAdapter > data)