|
| DUCKDB_API | EncryptionState (unique_ptr< EncryptionStateMetadata > metadata) |
| |
| virtual DUCKDB_API void | InitializeEncryption (EncryptionNonce &nonce, const_data_ptr_t key, const_data_ptr_t aad=nullptr, idx_t aad_len=0) |
| |
| virtual DUCKDB_API void | InitializeDecryption (EncryptionNonce &nonce, const_data_ptr_t key, const_data_ptr_t aad=nullptr, idx_t aad_len=0) |
| |
| virtual DUCKDB_API size_t | Process (const_data_ptr_t in, idx_t in_len, data_ptr_t out, idx_t out_len) |
| |
| virtual DUCKDB_API size_t | Finalize (data_ptr_t out, idx_t out_len, data_ptr_t tag, idx_t tag_len) |
| |
| virtual DUCKDB_API void | GenerateRandomData (data_ptr_t data, idx_t len) |
| |
| EncryptionTypes::CipherType | GetCipher () const |
| |
◆ EncryptionState()
52268 : metadata(std::move(metadata_p)) {
52269}
◆ ~EncryptionState()
| duckdb::EncryptionState::~EncryptionState |
( |
| ) |
|
|
virtual |
◆ InitializeEncryption()
| void duckdb::EncryptionState::InitializeEncryption |
( |
EncryptionNonce & |
nonce, |
|
|
const_data_ptr_t |
key, |
|
|
const_data_ptr_t |
aad = nullptr, |
|
|
idx_t |
aad_len = 0 |
|
) |
| |
|
virtual |
52274 {
52275 throw NotImplementedException("EncryptionState Abstract Class is called");
52276}
◆ InitializeDecryption()
| void duckdb::EncryptionState::InitializeDecryption |
( |
EncryptionNonce & |
nonce, |
|
|
const_data_ptr_t |
key, |
|
|
const_data_ptr_t |
aad = nullptr, |
|
|
idx_t |
aad_len = 0 |
|
) |
| |
|
virtual |
52278 {
52279 throw NotImplementedException("EncryptionState Abstract Class is called");
52280}
◆ Process()
| size_t duckdb::EncryptionState::Process |
( |
const_data_ptr_t |
in, |
|
|
idx_t |
in_len, |
|
|
data_ptr_t |
out, |
|
|
idx_t |
out_len |
|
) |
| |
|
virtual |
52282 {
52283 throw NotImplementedException("EncryptionState Abstract Class is called");
52284}
◆ Finalize()
| size_t duckdb::EncryptionState::Finalize |
( |
data_ptr_t |
out, |
|
|
idx_t |
out_len, |
|
|
data_ptr_t |
tag, |
|
|
idx_t |
tag_len |
|
) |
| |
|
virtual |
52286 {
52287 throw NotImplementedException("EncryptionState Abstract Class is called");
52288}
◆ GenerateRandomData()
| void duckdb::EncryptionState::GenerateRandomData |
( |
data_ptr_t |
data, |
|
|
idx_t |
len |
|
) |
| |
|
virtual |
52290 {
52291 throw NotImplementedException("EncryptionState Abstract Class is called");
52292}
◆ GetCipher()
| EncryptionTypes::CipherType duckdb::EncryptionState::GetCipher |
( |
| ) |
const |
|
inline |
11013 {
11014 return metadata->GetCipher();
11015 }
The documentation for this class was generated from the following file:
- external/duckdb/duckdb.cpp