Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
CaCertificateParserSpi.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
31public:
38 virtual uint8_t getCertificateType() const = 0;
39
50 virtual std::shared_ptr<CaCertificateSpi>
51 parseCertificate(const std::vector<uint8_t>& cardOutputData) const = 0;
52};
53
54} /* namespace spi */
55} /* namespace certificate */
56} /* namespace asymmetric */
57} /* namespace crypto */
58} /* namespace calypso */
59} /* namespace keypop */
virtual std::shared_ptr< CaCertificateSpi > parseCertificate(const std::vector< uint8_t > &cardOutputData) const =0