Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::thrift::FileCryptoMetaData Struct Reference

FileCryptoMetaData: file-level encryption metadata (parquet.thrift). More...

#include <types.hpp>

Public Member Functions

 FileCryptoMetaData ()=default
 
void serialize (CompactEncoder &enc) const
 
expected< void > deserialize (CompactDecoder &dec)
 

Public Attributes

EncryptionAlgorithm encryption_algorithm
 Encryption algorithm (field 1, required).
 
std::optional< std::vector< uint8_t > > key_metadata
 Key wrapping metadata (field 2).
 

Detailed Description

FileCryptoMetaData: file-level encryption metadata (parquet.thrift).

Written as a separate Thrift blob at the end of encrypted Parquet files, after the regular footer. Contains the file-level encryption algorithm and optional key wrapping metadata.

Definition at line 1617 of file types.hpp.

Constructor & Destructor Documentation

◆ FileCryptoMetaData()

signet::forge::thrift::FileCryptoMetaData::FileCryptoMetaData ( )
default

Member Function Documentation

◆ deserialize()

expected< void > signet::forge::thrift::FileCryptoMetaData::deserialize ( CompactDecoder dec)
inline

Definition at line 1635 of file types.hpp.

◆ serialize()

void signet::forge::thrift::FileCryptoMetaData::serialize ( CompactEncoder enc) const
inline

Definition at line 1623 of file types.hpp.

Member Data Documentation

◆ encryption_algorithm

EncryptionAlgorithm signet::forge::thrift::FileCryptoMetaData::encryption_algorithm

Encryption algorithm (field 1, required).

Definition at line 1618 of file types.hpp.

◆ key_metadata

std::optional<std::vector<uint8_t> > signet::forge::thrift::FileCryptoMetaData::key_metadata

Key wrapping metadata (field 2).

Definition at line 1619 of file types.hpp.


The documentation for this struct was generated from the following file: