Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamPsoVerifySignature.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#include <memory>
17
18/* Keyple Card Calypso */
19#include "AbstractSamCommand.h"
20#include "CalypsoSamAdapter.h"
22
23namespace keyple {
24namespace card {
25namespace calypso {
26
34public:
43 CmdSamPsoVerifySignature(const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
44 const std::shared_ptr<TraceableSignatureVerificationDataAdapter> data);
45
51 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
52 override;
53
59 void parseApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse) override;
60
61private:
65 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
66
70 const std::shared_ptr<TraceableSignatureVerificationDataAdapter> mData;
71
75 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
76};
77
78}
79}
80}
CmdSamPsoVerifySignature(const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const std::shared_ptr< TraceableSignatureVerificationDataAdapter > data)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override