Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
LegacySamRevocationServiceSpi.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <cstdint>
13#include <vector>
14
15namespace keypop {
16namespace calypso {
17namespace crypto {
18namespace legacysam {
19namespace spi {
20
27public:
37 virtual bool isSamRevoked(const std::vector<uint8_t>& serialNumber) const = 0;
38
50 virtual bool
51 isSamRevoked(const std::vector<uint8_t>& serialNumber, const int counterValue) const
52 = 0;
53};
54
55} /* namespace spi */
56} /* namespace legacysam */
57} /* namespace crypto */
58} /* namespace calypso */
59} /* namespace keypop */
virtual bool isSamRevoked(const std::vector< uint8_t > &serialNumber) const =0
virtual bool isSamRevoked(const std::vector< uint8_t > &serialNumber, const int counterValue) const =0