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