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

Factory for creating cipher instances from algorithm enum + raw key. More...

#include <cipher_interface.hpp>

Static Public Member Functions

static std::unique_ptr< ICiphercreate_footer_cipher (EncryptionAlgorithm, const std::vector< uint8_t > &key)
 Create a footer cipher (always authenticated = GCM).
 
static std::unique_ptr< ICiphercreate_column_cipher (EncryptionAlgorithm algo, const std::vector< uint8_t > &key)
 Create a column data cipher (GCM or CTR based on algorithm).
 
static std::unique_ptr< ICiphercreate_metadata_cipher (EncryptionAlgorithm, const std::vector< uint8_t > &key)
 Create a metadata cipher (always authenticated = GCM).
 

Detailed Description

Factory for creating cipher instances from algorithm enum + raw key.

NOT a singleton — all methods are static.

Definition at line 685 of file cipher_interface.hpp.

Member Function Documentation

◆ create_column_cipher()

static std::unique_ptr< ICipher > signet::forge::crypto::CipherFactory::create_column_cipher ( EncryptionAlgorithm  algo,
const std::vector< uint8_t > &  key 
)
inlinestatic

Create a column data cipher (GCM or CTR based on algorithm).

Definition at line 694 of file cipher_interface.hpp.

◆ create_footer_cipher()

static std::unique_ptr< ICipher > signet::forge::crypto::CipherFactory::create_footer_cipher ( EncryptionAlgorithm  ,
const std::vector< uint8_t > &  key 
)
inlinestatic

Create a footer cipher (always authenticated = GCM).

Definition at line 687 of file cipher_interface.hpp.

◆ create_metadata_cipher()

static std::unique_ptr< ICipher > signet::forge::crypto::CipherFactory::create_metadata_cipher ( EncryptionAlgorithm  ,
const std::vector< uint8_t > &  key 
)
inlinestatic

Create a metadata cipher (always authenticated = GCM).

Definition at line 704 of file cipher_interface.hpp.


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