Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
TraceableSignatureVerificationDataAdapter.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/* Calypsonet Terminal Calypso */
16#include "TraceableSignatureVerificationData.h"
17
18/* Keyple Card Calypso */
21
22namespace keyple {
23namespace card {
24namespace calypso {
25
26using namespace calypsonet::terminal::calypso::transaction;
27
35: public CommonSignatureVerificationDataAdapter<TraceableSignatureVerificationData>,
36 public TraceableSignatureVerificationData {
37public:
43 TraceableSignatureVerificationData& withSamTraceabilityMode(const int offset,
44 const bool isPartialSamSerialNumber,
45 const bool checkSamRevocationStatus)
46 override;
47
53 TraceableSignatureVerificationData& withoutBusyMode() override;
54
61 bool isSamTraceabilityMode() const;
62
70 int getTraceabilityOffset() const;
71
80 bool isPartialSamSerialNumber() const;
81
89 bool isSamRevocationStatusVerificationRequested() const;
90
97 bool isBusyMode() const;
98
99private:
103 bool mIsSamTraceabilityMode = false;
104
108 int mTraceabilityOffset = 0;
109
113 bool mIsPartialSamSerialNumber = false;
114
118 bool mIsSamRevocationStatusVerificationRequested = false;
119
123 bool mIsBusyMode = true;
124};
125
126}
127}
128}
#define KEYPLECARDCALYPSO_API