Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
CaCertificateContentSpi.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 <memory>
14#include <vector>
15
17
18namespace keypop {
19namespace calypso {
20namespace crypto {
21namespace asymmetric {
22namespace certificate {
23namespace spi {
24
26
33public:
41 virtual const std::shared_ptr<PublicKey> getPublicKey() const = 0;
42
49 virtual const std::vector<uint8_t>& getPublicKeyReference() const = 0;
50
62 virtual uint64_t getStartDate() const = 0;
63
75 virtual uint64_t getEndDate() const = 0;
76
83 virtual bool isAidCheckRequested() const = 0;
84
91 virtual bool isAidTruncated() const = 0;
92
99 virtual const std::vector<uint8_t>& getAid() const = 0;
100
108
116};
117
118} /* namespace spi */
119} /* namespace certificate */
120} /* namespace asymmetric */
121} /* namespace crypto */
122} /* namespace calypso */
123} /* namespace keypop */
virtual const std::vector< uint8_t > & getPublicKeyReference() const =0
virtual const std::shared_ptr< PublicKey > getPublicKey() const =0