Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::EncryptionStateMetadata Struct Reference

Public Member Functions

 EncryptionStateMetadata (EncryptionTypes::CipherType cipher_p, idx_t key_len_p, EncryptionTypes::EncryptionVersion version_p)
 
bool IsValid () const
 
EncryptionTypes::CipherType GetCipher () const
 
idx_t GetKeyLen () const
 
EncryptionTypes::EncryptionVersion GetVersion () const
 

Private Attributes

const EncryptionTypes::CipherType cipher
 
const idx_t key_len
 
const EncryptionTypes::EncryptionVersion version
 

Constructor & Destructor Documentation

◆ 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 }

Member Function Documentation

◆ 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: