Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
include
keypop
calypso
crypto
asymmetric
certificate
spi
CardCertificaterSpi.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/CaCertificateContentSpi.hpp
"
17
#include "
keypop/calypso/crypto/asymmetric/certificate/spi/CardPublicKeySpi.hpp
"
18
19
namespace
keypop
{
20
namespace
calypso {
21
namespace
crypto {
22
namespace
asymmetric {
23
namespace
certificate {
24
namespace
spi {
25
31
class
CardCertificateSpi
{
32
public
:
39
virtual
const
std::vector<uint8_t>&
getIssuerPublicKeyReference
()
const
= 0;
40
48
virtual
const
std::vector<uint8_t>&
getCardAid
()
const
= 0;
49
56
virtual
const
std::vector<uint8_t>&
getCardSerialNumber
()
const
= 0;
57
76
virtual
const
std::shared_ptr<CardPublicKeySpi>
checkCertificateAndGetPublicKey
(
77
const
std::shared_ptr<CaCertificateContentSpi> issuerCertificateContent)
78
= 0;
79
};
80
81
}
/* namespace spi */
82
}
/* namespace certificate */
83
}
/* namespace asymmetric */
84
}
/* namespace crypto */
85
}
/* namespace calypso */
86
}
/* namespace keypop */
CaCertificateContentSpi.hpp
CardPublicKeySpi.hpp
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateSpi
Definition:
CardCertificaterSpi.hpp:31
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateSpi::getCardSerialNumber
virtual const std::vector< uint8_t > & getCardSerialNumber() const =0
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateSpi::checkCertificateAndGetPublicKey
virtual const std::shared_ptr< CardPublicKeySpi > checkCertificateAndGetPublicKey(const std::shared_ptr< CaCertificateContentSpi > issuerCertificateContent)=0
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateSpi::getIssuerPublicKeyReference
virtual const std::vector< uint8_t > & getIssuerPublicKeyReference() const =0
keypop::calypso::crypto::asymmetric::certificate::spi::CardCertificateSpi::getCardAid
virtual const std::vector< uint8_t > & getCardAid() const =0
keypop
Definition:
AsymmetricCryptoApiProperties.hpp:14
Generated by
1.9.2