Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdSamDigestInit.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 "AbstractSamCommand.h"
17
18namespace keyple {
19namespace card {
20namespace calypso {
21
29public:
46 const std::shared_ptr<CalypsoSamAdapter> calypsoSam,
47 const bool verificationMode,
48 const bool confidentialSessionMode,
49 const uint8_t workKif,
50 const uint8_t workKvc,
51 const std::vector<uint8_t>& digestData);
52
58 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
59 override;
60
61private:
65 static const CalypsoSamCommand mCommand;
66
70 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
71
75 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
76};
77
78}
79}
80}
CmdSamDigestInit(const std::shared_ptr< CalypsoSamAdapter > calypsoSam, const bool verificationMode, const bool confidentialSessionMode, const uint8_t workKif, const uint8_t workKvc, const std::vector< uint8_t > &digestData)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override