Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
KeyParameter.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 sam {
20
27public:
35 virtual const std::vector<uint8_t>& getRawData() const = 0;
36
43 virtual uint8_t getKif() const = 0;
44
51 virtual uint8_t getKvc() const = 0;
52
59 virtual uint8_t getAlgorithm() const = 0;
60
69 virtual uint8_t getParameterValue(const int parameterNumber) const = 0;
70};
71
72} /* namespace sam */
73} /* namespace legacysam */
74} /* namespace crypto */
75} /* namespace calypso */
76} /* namespace keypop */
virtual uint8_t getParameterValue(const int parameterNumber) const =0
virtual const std::vector< uint8_t > & getRawData() const =0