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) 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:
39 virtual const std::vector<uint8_t>& getUnlockData(
40 const std::vector<uint8_t>& samSerialNumber, const std::vector<uint8_t>& samChallenge) const
41 = 0;
42};
43
44} /* namespace spi */
45} /* namespace legacysam */
46} /* namespace crypto */
47} /* namespace calypso */
48} /* namespace keypop */
virtual const std::vector< uint8_t > & getUnlockData(const std::vector< uint8_t > &samSerialNumber, const std::vector< uint8_t > &samChallenge) const =0