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) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <cstdint>
14#include <vector>
15
16namespace keypop {
17namespace calypso {
18namespace crypto {
19namespace legacysam {
20namespace spi {
21
28public:
39 virtual bool
40 isSamRevoked(const std::vector<uint8_t>& serialNumber) const = 0;
41
54 virtual bool isSamRevoked(
55 const std::vector<uint8_t>& serialNumber,
56 const int counterValue) const = 0;
57};
58
59} /* namespace spi */
60} /* namespace legacysam */
61} /* namespace crypto */
62} /* namespace calypso */
63} /* 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