Keypop Calypso Card C++ API - 2.1.2
Component of the Keypop C++ API
AsymmetricCryptoSecuritySetting.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 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 *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13#include <cstdint>
14#include <memory>
15
20
21namespace keypop {
22namespace calypso {
23namespace card {
24namespace transaction {
25
30
38public:
43
66 addPcaCertificate(const std::shared_ptr<PcaCertificate> pcaCertificate) = 0;
67
95 addCaCertificate(const std::shared_ptr<CaCertificate> caCertificate) = 0;
96
114 const std::shared_ptr<CaCertificateParser> caCertificateParser) = 0;
115
130 const std::shared_ptr<CardCertificateParser> cardCertificateParser) = 0;
131};
132
133} /* namespace transaction */
134} /* namespace card */
135} /* namespace calypso */
136} /* namespace keypop */
Security setting for a Calypso card transaction secured by "asymmetric" key cryptographic algorithms ...
virtual AsymmetricCryptoSecuritySetting & addCaCertificateParser(const std::shared_ptr< CaCertificateParser > caCertificateParser)=0
Registers a CA certificate parser.
virtual AsymmetricCryptoSecuritySetting & addCaCertificate(const std::shared_ptr< CaCertificate > caCertificate)=0
Registers a CA certificate.
virtual AsymmetricCryptoSecuritySetting & addCardCertificateParser(const std::shared_ptr< CardCertificateParser > cardCertificateParser)=0
Registers a card certificate parser.
virtual AsymmetricCryptoSecuritySetting & addPcaCertificate(const std::shared_ptr< PcaCertificate > pcaCertificate)=0
Registers a self-signed PCA certificate.
virtual ~AsymmetricCryptoSecuritySetting()=default
Virtual destructor.