Class DataAndLocation
Defined in File schemeswitching-data-serializer.h
Page Contents
Inheritance Relationships
Derived Types
public lbcrypto::SchemeSwitchingDataDeserializer
(Class SchemeSwitchingDataDeserializer)public lbcrypto::SchemeSwitchingDataSerializer
(Class SchemeSwitchingDataSerializer)
Class Documentation
-
class lbcrypto::DataAndLocation
Inheritence diagram for lbcrypto::DataAndLocation:
Subclassed by lbcrypto::SchemeSwitchingDataDeserializer, lbcrypto::SchemeSwitchingDataSerializer
Public Functions
-
inline void SetDataDirectory(const std::string &dir)
Protected Functions
-
inline std::string createMapFileName(uint32_t index, const std::string &baseFileName)
-
DataAndLocation() = default
-
inline DataAndLocation(CryptoContext<DCRTPoly> cryptoContext0, PublicKey<DCRTPoly> publicKey0, Ciphertext<DCRTPoly> RAWCiphertext0)
Protected Attributes
-
CryptoContext<DCRTPoly> cryptoContext = {nullptr}
-
std::shared_ptr<lbcrypto::BinFHEContext> binFHECryptoContext = {nullptr}
-
Ciphertext<DCRTPoly> FHEWtoCKKSSwitchKey = {nullptr}
-
Ciphertext<DCRTPoly> RAWCiphertext = {nullptr}
-
std::string dataDirectory = "demoData"
-
std::string cryptoContextFile = "cryptocontext.txt"
-
std::string pubKeyFile = "key_pub.txt"
-
std::string multKeyFile = "key_mult.txt"
-
std::string rotKeyFile = "key_rot.txt"
-
std::string FHEWtoCKKSSwitchKeyFile = "key_switch_fhew_ckks.txt"
-
std::string ciphertextFile = "ciphertext.txt"
-
std::string binFHECryptoContextFile = "binfhe_cryptocontext.txt"
-
std::string binFHEBootRefreshKeyFile = "key_binfhe_boot_refresh.txt"
-
std::string binFHEBootRotKeyFile = "key_binfhe_boot_rot.txt"
-
std::string baseRefreshKeyFile = "key_refresh.txt"
-
std::string baseSwitchingKeyFile = "key_switching.txt"
-
std::string keyIndexFile = "key_indices.txt"
-
inline void SetDataDirectory(const std::string &dir)