Keypop Calypso Crypto Asymmetric C++ API 0.2.0
Reference Calypso Crypto Asymmetric API for C++
include
keypop
calypso
crypto
asymmetric
transaction
spi
AsymmetricCryptoCardTransactionManagerFactorySpi.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 <memory>
13
#include <vector>
14
15
#include "
keypop/calypso/crypto/asymmetric/certificate/spi/CardPublicKeySpi.hpp
"
16
17
namespace
keypop
{
18
namespace
calypso {
19
namespace
crypto {
20
namespace
asymmetric {
21
namespace
transaction {
22
namespace
spi {
23
24
using
keypop::calypso::crypto::asymmetric::certificate::spi::CardPublicKeySpi
;
25
37
class
AsymmetricCryptoCardTransactionManagerSpi {
38
public
:
48
virtual
void
initTerminalPkiSession
(
const
std::shared_ptr<CardPublicKeySpi> cardPublicKey) = 0;
49
62
virtual
void
updateTerminalPkiSession
(
const
std::vector<uint8_t>& cardApdu) = 0;
63
73
virtual
bool
isCardPkiSessionValid
(
const
std::vector<uint8_t>& cardSessionSignature) = 0;
74
};
75
76
}
/* namespace spi */
77
}
/* namespace transaction */
78
}
/* namespace asymmetric */
79
}
/* namespace crypto */
80
}
/* namespace calypso */
81
}
/* namespace keypop */
CardPublicKeySpi.hpp
keypop::calypso::crypto::asymmetric::certificate::spi::CardPublicKeySpi
Definition:
CardPublicKeySpi.hpp:27
keypop::calypso::crypto::asymmetric::transaction::spi::AsymmetricCryptoCardTransactionManagerSpi::isCardPkiSessionValid
virtual bool isCardPkiSessionValid(const std::vector< uint8_t > &cardSessionSignature)=0
keypop::calypso::crypto::asymmetric::transaction::spi::AsymmetricCryptoCardTransactionManagerSpi::initTerminalPkiSession
virtual void initTerminalPkiSession(const std::shared_ptr< CardPublicKeySpi > cardPublicKey)=0
keypop::calypso::crypto::asymmetric::transaction::spi::AsymmetricCryptoCardTransactionManagerSpi::updateTerminalPkiSession
virtual void updateTerminalPkiSession(const std::vector< uint8_t > &cardApdu)=0
keypop
Definition:
AsymmetricCryptoApiProperties.hpp:14
Generated by
1.9.2