|
|
const EncryptionTypes::CipherType | cipher |
| |
|
const idx_t | key_len |
| |
|
const EncryptionTypes::EncryptionVersion | version |
| |
◆ EncryptionStateMetadata() [1/2]
| duckdb::EncryptionStateMetadata::EncryptionStateMetadata |
( |
| ) |
|
|
inline |
10967 : cipher(EncryptionTypes::INVALID), key_len(0), version(EncryptionTypes::NONE) {
10968 }
◆ EncryptionStateMetadata() [2/2]
| duckdb::EncryptionStateMetadata::EncryptionStateMetadata |
( |
EncryptionTypes::CipherType |
cipher_p, |
|
|
idx_t |
key_len_p, |
|
|
EncryptionTypes::EncryptionVersion |
version_p |
|
) |
| |
|
inline |
10972 : cipher(cipher_p), key_len(key_len_p), version(version_p) {
10973 }
◆ IsValid()
| bool duckdb::EncryptionStateMetadata::IsValid |
( |
| ) |
const |
|
inline |
10975 {
10976 if (!(cipher != EncryptionTypes::INVALID && key_len > 0)) {
10977 throw InvalidInputException("EncryptionStateMetadata is not initialized!");
10978 }
10979 return true;
10980 }
◆ GetCipher()
| EncryptionTypes::CipherType duckdb::EncryptionStateMetadata::GetCipher |
( |
| ) |
const |
|
inline |
10982 {
10983 return cipher;
10984 }
◆ GetKeyLen()
| idx_t duckdb::EncryptionStateMetadata::GetKeyLen |
( |
| ) |
const |
|
inline |
10986 {
10987 return key_len;
10988 }
◆ GetVersion()
| EncryptionTypes::EncryptionVersion duckdb::EncryptionStateMetadata::GetVersion |
( |
| ) |
const |
|
inline |
10990 {
10991 return version;
10992 }
The documentation for this struct was generated from the following file:
- external/duckdb/duckdb.cpp