|
Botan 2.19.5
Crypto and TLS for C&
|
#include <p11_types.h>
Public Member Functions | |
| Info | get_info () const |
| Module (const Module &other)=delete | |
| Module (const std::string &file_path, C_InitializeArgs init_args={ nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr }) | |
| Module (Module &&other) | |
| LowLevel * | operator-> () const |
| Module & | operator= (const Module &other)=delete |
| Module & | operator= (Module &&other)=delete |
| void | reload (C_InitializeArgs init_args={ nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr }) |
| ~Module () noexcept | |
| Calls C_Finalize() More... | |
Loads the PKCS#11 shared library Calls C_Initialize on load and C_Finalize on destruction
Definition at line 28 of file p11_types.h.
| Botan::PKCS11::Module::Module | ( | const std::string & | file_path, |
| C_InitializeArgs | init_args = { nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr } |
||
| ) |
Loads the shared library and calls C_Initialize
| file_path | the path to the PKCS#11 shared library |
| init_args | flags to use for C_Initialize |
Definition at line 18 of file p11_module.cpp.
References reload().
|
default |
|
delete |
|
noexcept |
Calls C_Finalize()
Definition at line 26 of file p11_module.cpp.
|
inline |
Definition at line 61 of file p11_types.h.
|
inline |
Definition at line 55 of file p11_types.h.
References Botan::PKCS11::OsLockingOk.
| void Botan::PKCS11::Module::reload | ( | C_InitializeArgs | init_args = { nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr } | ) |
Reloads the module and reinitializes it
| init_args | flags to use for C_Initialize |
Definition at line 38 of file p11_module.cpp.
References Botan::PKCS11::LowLevel::C_GetFunctionList().
Referenced by Module().