Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
LegacySamDynamicUnlockDataProviderSpi.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
29public:
41 virtual const std::vector<uint8_t>& getUnlockData(
42 const std::vector<uint8_t>& samSerialNumber,
43 const std::vector<uint8_t>& samChallenge) const = 0;
44};
45
46} /* namespace spi */
47} /* namespace legacysam */
48} /* namespace crypto */
49} /* namespace calypso */
50} /* namespace keypop */
virtual const std::vector< uint8_t > & getUnlockData(const std::vector< uint8_t > &samSerialNumber, const std::vector< uint8_t > &samChallenge) const =0