Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
include
keypop
calypso
crypto
asymmetric
certificate
spi
CardCertificateParserSpi.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/CardCertificateSpi.hpp"
17
18
namespace
keypop
{
19
namespace
calypso {
20
namespace
crypto {
21
namespace
asymmetric {
22
namespace
certificate {
23
namespace
spi {
24
30
class
CardCertificateParserSpi
{
31
public
:
38
virtual
uint8_t
getCertificateType
()
const
= 0;
39
51
virtual
std::shared_ptr<CardCertificateSpi>
52
parseCertificate
(
const
std::vector<uint8_t>& cardOutputData)
const
= 0;
53
};
54
55
}
/* namespace spi */
56
}
/* namespace certificate */
57
}
/* namespace asymmetric */
58
}
/* namespace crypto */
59
}
/* namespace calypso */
60
}
/* namespace keypop */
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateParserSpi
Definition:
CardCertificateParserSpi.hpp:30
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateParserSpi::parseCertificate
virtual std::shared_ptr< CardCertificateSpi > parseCertificate(const std::vector< uint8_t > &cardOutputData) const =0
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateParserSpi::getCertificateType
virtual uint8_t getCertificateType() const =0
keypop
Definition:
AsymmetricCryptoApiProperties.hpp:14
Generated by
1.9.2