Cipher class representing ChaCha20 encryption with Poly1305 HMAC.
More...
#include <wxsqlite3.h>
Cipher class representing ChaCha20 encryption with Poly1305 HMAC.
◆ CipherChaCha20() [1/2]
| wxSQLite3::CipherChaCha20::CipherChaCha20 |
( |
| ) |
|
◆ CipherChaCha20() [2/2]
| wxSQLite3::CipherChaCha20::CipherChaCha20 |
( |
const CipherChaCha20 & | cipher | ) |
|
◆ ~CipherChaCha20()
| virtual wxSQLite3::CipherChaCha20::~CipherChaCha20 |
( |
| ) |
|
|
virtual |
◆ Apply() [1/2]
| virtual bool wxSQLite3::CipherChaCha20::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::CipherChaCha20::Apply |
( |
void * | dbHandle | ) |
const |
|
virtual |
◆ GetKdfIter()
| int wxSQLite3::CipherChaCha20::GetKdfIter |
( |
| ) |
const |
|
inline |
Get iteration count of KDF function for ordinary key.
◆ GetLegacy()
| bool wxSQLite3::CipherChaCha20::GetLegacy |
( |
| ) |
const |
|
inline |
◆ InitializeFromCurrent()
| virtual bool wxSQLite3::CipherChaCha20::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::CipherChaCha20::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::CipherChaCha20::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.
◆ SetKdfIter()
| void wxSQLite3::CipherChaCha20::SetKdfIter |
( |
int | kdfIter | ) |
|
|
inline |
Set iteration count of KDF function for ordinary key.
◆ SetLegacy()
| void wxSQLite3::CipherChaCha20::SetLegacy |
( |
bool | legacy | ) |
|
|
inline |
The documentation for this class was generated from the following file: