Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamDataCipher.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/* Keyple Card Calypso */
16#include "AbstractApduCommand.h"
17#include "AbstractSamCommand.h"
20#include "CalypsoSamAdapter.h"
21
22namespace keyple {
23namespace card {
24namespace calypso {
25
27
35public:
46 const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
47 const std::shared_ptr<BasicSignatureComputationDataAdapter> signatureComputationData,
48 const std::shared_ptr<BasicSignatureVerificationDataAdapter> signatureVerificationData);
49
55 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
56 override;
57
63 void parseApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse) override;
64
65private:
69 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
70
74 const std::shared_ptr<BasicSignatureComputationDataAdapter> mSignatureComputationData;
75
79 const std::shared_ptr<BasicSignatureVerificationDataAdapter> mSignatureVerificationData;
80
84 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
85};
86
87}
88}
89}
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
CmdSamDataCipher(const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const std::shared_ptr< BasicSignatureComputationDataAdapter > signatureComputationData, const std::shared_ptr< BasicSignatureVerificationDataAdapter > signatureVerificationData)
AbstractApduCommand::StatusProperties StatusProperties