Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamDigestClose.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"
21#include "CalypsoSamCommand.h"
22
23namespace keyple {
24namespace card {
25namespace calypso {
26
34public:
43 CmdSamDigestClose(const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
44 const int expectedResponseLength);
45
53 const std::vector<uint8_t> getSignature() const;
54
60 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
61 override;
62
63private:
67 static const CalypsoSamCommand mCommand;
68
72 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
73
77 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
78};
79
80}
81}
82}
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
const std::vector< uint8_t > getSignature() const
CmdSamDigestClose(const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const int expectedResponseLength)