Cipher class representing Aegis encryption with Ascon tag.
More...
#include <wxsqlite3.h>
Cipher class representing Aegis encryption with Ascon tag.
◆ Algorithm
Aegis algorithm types.
| Enumerator |
|---|
| ALGORITHM_AEGIS_128L | 1 | |
| ALGORITHM_AEGIS_128X2 | | |
| ALGORITHM_AEGIS_128X4 | | |
| ALGORITHM_AEGIS_256 | | |
| ALGORITHM_AEGIS_256X2 | | |
| ALGORITHM_AEGIS_256X4 | | |
◆ CipherAegis() [1/2]
| wxSQLite3::CipherAegis::CipherAegis |
( |
| ) |
|
◆ CipherAegis() [2/2]
| wxSQLite3::CipherAegis::CipherAegis |
( |
const CipherAegis & | cipher | ) |
|
◆ ~CipherAegis()
| virtual wxSQLite3::CipherAegis::~CipherAegis |
( |
| ) |
|
|
virtual |
◆ Apply() [1/2]
| virtual bool wxSQLite3::CipherAegis::Apply |
( |
Database & | db | ) |
const |
|
virtual |
Apply the cipher parameters to a database connection.
The parameters of the cipher instance are applied to the given database connection.
- Parameters
-
| db | database instance representing a database connection |
- Returns
- true if the cipher parameters could be applied successfully, false otherwise
Reimplemented from wxSQLite3::Cipher.
◆ Apply() [2/2]
| virtual bool wxSQLite3::CipherAegis::Apply |
( |
void * | dbHandle | ) |
const |
|
virtual |
◆ GetAlgorithm()
| Algorithm wxSQLite3::CipherAegis::GetAlgorithm |
( |
| ) |
const |
|
inline |
Get Aegis algorithm used for encryption.
◆ GetIterCount()
| int wxSQLite3::CipherAegis::GetIterCount |
( |
| ) |
const |
|
inline |
Get number of iterations of KDF function for ordinary key.
◆ GetMemorySize()
| int wxSQLite3::CipherAegis::GetMemorySize |
( |
| ) |
const |
|
inline |
Get size of memory in kB of KDF function for ordinary key.
◆ GetThreadCount()
| int wxSQLite3::CipherAegis::GetThreadCount |
( |
| ) |
const |
|
inline |
Get number of threads of KDF function for ordinary key.
◆ InitializeFromCurrent()
| virtual bool wxSQLite3::CipherAegis::InitializeFromCurrent |
( |
Database & | db | ) |
|
|
virtual |
Initialize the cipher instance based on current settings.
The parameters of the cipher instance are initialize with the current settings of the associated cipher type as defined in the given database connection.
- Parameters
-
| db | database instance representing a database connection |
- Returns
- true if the cipher instance could be initialized successfully, false otherwise
Reimplemented from wxSQLite3::Cipher.
◆ InitializeFromCurrentDefault()
| virtual bool wxSQLite3::CipherAegis::InitializeFromCurrentDefault |
( |
Database & | db | ) |
|
|
virtual |
Initialize the cipher instance based on current default settings.
The parameters of the cipher instance are initialize with the current default settings of the associated cipher type as defined in the given database connection.
- Parameters
-
| db | database instance representing a database connection |
- Returns
- true if the cipher instance could be initialized successfully, false otherwise
Reimplemented from wxSQLite3::Cipher.
◆ InitializeFromGlobalDefault()
| virtual bool wxSQLite3::CipherAegis::InitializeFromGlobalDefault |
( |
| ) |
|
|
virtual |
Initialize the cipher instance based on global default settings.
The parameters of the cipher instance are initialize with the global default settings of the associated cipher type.
- Returns
- true if the cipher instance could be initialized successfully, false otherwise
Reimplemented from wxSQLite3::Cipher.
◆ SetAlgorithm()
| void wxSQLite3::CipherAegis::SetAlgorithm |
( |
Algorithm | algorithm | ) |
|
|
inline |
Set Aegis algorithm to be used for encryption.
◆ SetIterCount()
| void wxSQLite3::CipherAegis::SetIterCount |
( |
int | iterCount | ) |
|
|
inline |
Set number of iterations of KDF function for ordinary key.
◆ SetMemorySize()
| void wxSQLite3::CipherAegis::SetMemorySize |
( |
int | memSize | ) |
|
|
inline |
Set size of memory in kB of KDF function for ordinary key.
◆ SetThreadCount()
| void wxSQLite3::CipherAegis::SetThreadCount |
( |
int | threads | ) |
|
|
inline |
Set number of threads of KDF function for ordinary key.
The documentation for this class was generated from the following file: