1#ifndef LIBRARYMANAGER_HPP__
2#define LIBRARYMANAGER_HPP__
13class AccessControlCardService;
30 static bool hasEnding(std::string
const &fullString, std::string ending);
35 void *getFctFromName(
const std::string &fctname,
LibraryType libraryType);
37 std::shared_ptr<ReaderProvider> getReaderProvider(
const std::string &readertype);
45 std::shared_ptr<ReaderUnit> getReader(
const std::string &readerName);
47 std::shared_ptr<Chip> getCard(
const std::string &cardtype);
49 std::shared_ptr<Commands> getCommands(
const std::string &extendedtype);
57 std::shared_ptr<RemoteCrypto>
70 std::shared_ptr<IAESCryptoService>
72 const std::string &pkcs_library_shared_object_path);
74 static std::shared_ptr<DataTransport>
75 getDataTransport(
const std::string &transporttype);
76 std::shared_ptr<KeyDiversification>
77 getKeyDiversification(
const std::string &keydivtype);
88 std::shared_ptr<CardService> getCardService(std::shared_ptr<Chip> chip,
100 std::vector<std::string> getAvailableCards();
102 std::vector<std::string> getAvailableReaders();
104 static std::vector<std::string> getAvailableDataTransports();
109 std::vector<std::string> getAvailablePlugins(
LibraryType libraryType);
110 static void getAvailablePlugins(std::vector<std::string> &plugins,
111 getobjectinfoat objectinfoptr);
116 static const std::string enumType[3];
Definition: librarymanager.hpp:16
LibraryType
Definition: librarymanager.hpp:19
~LibraryManager()=default
std::map< std::string, IDynLibrary * > libLoaded
Definition: librarymanager.hpp:115
std::recursive_mutex mutex_
Definition: librarymanager.hpp:114
LLA_IKS_API void getRemoteCrypto(const logicalaccess::iks::IslogKeyServer::IKSConfig &cfg, logicalaccess::RemoteCryptoPtr &remoteCrypto)
Definition: libraryentry.cpp:14
std::shared_ptr< ReaderUnit > ReaderUnitPtr
Definition: lla_fwd.hpp:33
ReaderServiceType
Definition: reader_service.hpp:10
CardServiceType
The card services.
Definition: cardservice.hpp:35
std::shared_ptr< ReaderService > ReaderServicePtr
Definition: lla_fwd.hpp:67
bool hasEnding(std::string const &fullString, std::string ending)
void getPKCSAESCrypto(std::shared_ptr< logicalaccess::IAESCryptoService > &aes_crypto, const std::string &pkcs_shared_object_path)
Definition: libraryentry.cpp:77
Definition: IslogKeyServer.hpp:24