Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
include
keypop
calypso
crypto
asymmetric
certificate
spi
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
16
#include "
keypop/calypso/crypto/asymmetric/certificate/spi/CaCertificateSpi.hpp
"
17
18
namespace
keypop
{
19
namespace
calypso {
20
namespace
crypto {
21
namespace
asymmetric {
22
namespace
certificate {
23
namespace
spi {
24
30
class
CaCertificateParserSpi
{
31
public
:
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 */
CaCertificateSpi.hpp
keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateParserSpi
Definition:
CaCertificateParserSpi.hpp:30
keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateParserSpi::getCertificateType
virtual uint8_t getCertificateType() const =0
keypop::calypso::crypto::asymmetric::certificate::spi::CaCertificateParserSpi::parseCertificate
virtual std::shared_ptr< CaCertificateSpi > parseCertificate(const std::vector< uint8_t > &cardOutputData) const =0
keypop
Definition:
AsymmetricCryptoApiProperties.hpp:14
Generated by
1.9.2