9#include <botan/p11_types.h>
10#include <botan/dyn_load.h>
19 : m_file_path(file_path)
30 m_low_level->C_Finalize(
nullptr,
nullptr);
42 m_low_level->C_Finalize(
nullptr);
47 m_low_level.reset(
new LowLevel(m_func_list));
49 m_low_level->C_Initialize(&init_args);
Provides access to all PKCS#11 functions.
static bool C_GetFunctionList(Dynamically_Loaded_Library &pkcs11_module, FunctionListPtr *function_list_ptr_ptr, ReturnValue *return_value=ThrowException)
~Module() noexcept
Calls C_Finalize()
Module(const std::string &file_path, C_InitializeArgs init_args={ nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr })
void reload(C_InitializeArgs init_args={ nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr })