Keypop Calypso Crypto Symmetric C++ API 0.1.1
Reference Calypso Crypto Symmetric API for C++
include
keypop
calypso
crypto
symmetric
spi
SymmetricCryptoCardTransactionManagerFactorySpi.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/symmetric/spi/SymmetricCryptoCardTransactionManagerSpi.hpp
"
16
17
namespace
keypop
{
18
namespace
calypso {
19
namespace
crypto {
20
namespace
symmetric {
21
namespace
spi {
22
28
class
SymmetricCryptoCardTransactionManagerFactorySpi
{
29
public
:
36
virtual
bool
isExtendedModeSupported
()
const
= 0;
37
44
virtual
int
getMaxCardApduLengthSupported
()
const
= 0;
45
53
virtual
void
preInitTerminalSessionContext
() = 0;
54
68
virtual
std::shared_ptr<SymmetricCryptoCardTransactionManagerSpi>
createCardTransactionManager
(
69
const
std::vector<uint8_t>& cardKeyDiversifier,
70
const
bool
useExtendedMode,
71
const
std::vector<std::vector<uint8_t>>& transactionAuditData)
72
= 0;
73
};
74
75
}
/* namespace spi */
76
}
/* namespace symmetric */
77
}
/* namespace crypto */
78
}
/* namespace calypso */
79
}
/* namespace keypop */
SymmetricCryptoCardTransactionManagerSpi.hpp
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi
Definition:
SymmetricCryptoCardTransactionManagerFactorySpi.hpp:28
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::createCardTransactionManager
virtual std::shared_ptr< SymmetricCryptoCardTransactionManagerSpi > createCardTransactionManager(const std::vector< uint8_t > &cardKeyDiversifier, const bool useExtendedMode, const std::vector< std::vector< uint8_t > > &transactionAuditData)=0
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::getMaxCardApduLengthSupported
virtual int getMaxCardApduLengthSupported() const =0
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::isExtendedModeSupported
virtual bool isExtendedModeSupported() const =0
keypop::calypso::crypto::symmetric::spi::SymmetricCryptoCardTransactionManagerFactorySpi::preInitTerminalSessionContext
virtual void preInitTerminalSessionContext()=0
keypop
Definition:
SymmetricCryptoCardTransactionManagerFactorySpi.hpp:17
Generated by
1.9.2