|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <p11_module.h>
Public Member Functions | |
| Info | get_info () const |
| Module (const std::string &file_path, C_InitializeArgs init_args={nullptr, nullptr, nullptr, nullptr, static_cast< CK_FLAGS >(Flag::OsLockingOk), nullptr}) | |
| Module (Module &&other)=default | |
| Module (const Module &other)=delete | |
| LowLevel * | operator-> () const |
| Module & | operator= (Module &&other)=delete |
| Module & | operator= (const 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 25 of file p11_module.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 15 of file p11_module.cpp.
References reload().
|
default |
|
delete |
|
noexcept |
Calls C_Finalize()
Definition at line 23 of file p11_module.cpp.
|
inline |
|
inline |
Definition at line 52 of file p11_module.h.
| 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 35 of file p11_module.cpp.
References Botan::PKCS11::LowLevel::C_GetFunctionList().
Referenced by Module().
1.8.9.1