botan.libstate.global_state

Global State Management

Members

Functions

globalState
LibraryState globalState()

Access the global library state

globalStateExists
bool globalStateExists()

Query if the library is currently initialized

setGlobalState
void setGlobalState(LibraryState new_state)

Set the global state object

setGlobalStateUnlessSet
bool setGlobalStateUnlessSet(LibraryState new_state)

Set the global state object unless it is already set

Meta

License

Botan is released under the Simplified BSD License (see LICENSE.md)