Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
CalypsoSamCommand.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#include <cstdint>
16#include <string>
17
18/* Keyple Card Calypso */
19#include "CardCommand.h"
20
21namespace keyple {
22namespace card {
23namespace calypso {
24
32public:
55
62 const std::string& getName() const override;
63
70 uint8_t getInstructionByte() const override;
71
75 bool operator==(const CalypsoSamCommand& csc) const;
76
77private:
81 const std::string mName;
82
86 const uint8_t mInstructionByte;
87
95 CalypsoSamCommand(const std::string& name, const uint8_t instructionByte);
96};
97
98}
99}
100}
bool operator==(const CalypsoSamCommand &csc) const
static const CalypsoSamCommand PSO_VERIFY_SIGNATURE
static const CalypsoSamCommand CARD_CIPHER_PIN
static const CalypsoSamCommand READ_EVENT_COUNTER
static const CalypsoSamCommand SV_CHECK
static const CalypsoSamCommand SV_PREPARE_DEBIT
static const CalypsoSamCommand SV_PREPARE_UNDEBIT
static const CalypsoSamCommand DIGEST_UPDATE_MULTIPLE
static const CalypsoSamCommand SELECT_DIVERSIFIER
static const CalypsoSamCommand DIGEST_AUTHENTICATE
static const CalypsoSamCommand PSO_COMPUTE_SIGNATURE
static const CalypsoSamCommand CARD_GENERATE_KEY
static const CalypsoSamCommand DIGEST_INIT
static const CalypsoSamCommand GIVE_RANDOM
static const CalypsoSamCommand DIGEST_UPDATE
const std::string & getName() const override
static const CalypsoSamCommand WRITE_KEY
static const CalypsoSamCommand DIGEST_CLOSE
static const CalypsoSamCommand DATA_CIPHER
static const CalypsoSamCommand UNLOCK
static const CalypsoSamCommand SV_PREPARE_LOAD
static const CalypsoSamCommand GET_CHALLENGE
static const CalypsoSamCommand READ_CEILINGS
static const CalypsoSamCommand READ_KEY_PARAMETERS