Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
CmdSamDigestInit.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2022 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/* Calypsonet Terminal Calypso */
16#include "CalypsoSam.h"
17
18/* Keyple Card Calypso */
19#include "AbstractSamCommand.h"
20
21namespace keyple {
22namespace card {
23namespace calypso {
24
25using namespace calypsonet::terminal::calypso::sam;
26
34public:
51 const CalypsoSam::ProductType productType,
52 const bool verificationMode,
53 const bool confidentialSessionMode,
54 const uint8_t workKif,
55 const uint8_t workKvc,
56 const std::vector<uint8_t>& digestData);
57
63 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
64 override;
65
66private:
70 static const CalypsoSamCommand mCommand;
71
75 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
76
80 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
81};
82
83}
84}
85}
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
CmdSamDigestInit(const CalypsoSam::ProductType productType, const bool verificationMode, const bool confidentialSessionMode, const uint8_t workKif, const uint8_t workKvc, const std::vector< uint8_t > &digestData)
CalypsoSam::ProductType ProductType