Keyple Card Calypso C++ Library 2.2.2
Reference Terminal Reader API for C++
TraceableSignatureVerificationDataAdapter.cpp
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
14
15namespace keyple {
16namespace card {
17namespace calypso {
18
19TraceableSignatureVerificationData&
21 const int offset, const bool isPartialSamSerialNumber, const bool checkSamRevocationStatus)
22{
23 mIsSamTraceabilityMode = true;
24 mTraceabilityOffset = offset;
25 mIsPartialSamSerialNumber = isPartialSamSerialNumber;
26 mIsSamRevocationStatusVerificationRequested = checkSamRevocationStatus;
27
28 return *this;
29}
30
32{
33 mIsBusyMode = false;
34
35 return *this;
36}
37
39{
40 return mIsSamTraceabilityMode;
41}
42
44{
45 return mTraceabilityOffset;
46}
47
49{
50 return mIsPartialSamSerialNumber;
51}
52
54{
55 return mIsSamRevocationStatusVerificationRequested;
56}
57
59{
60 return mIsBusyMode;
61}
62
63}
64}
65}
TraceableSignatureVerificationData & withSamTraceabilityMode(const int offset, const bool isPartialSamSerialNumber, const bool checkSamRevocationStatus) override