Class DataAndLocation

Inheritance Relationships

Derived Types

Class Documentation

class lbcrypto::DataAndLocation

Inheritence diagram for lbcrypto::DataAndLocation:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="lbcrypto::DataAndLocation" tooltip="lbcrypto::DataAndLocation" fillcolor="#BFBFBF"] "3" [label="lbcrypto::SchemeSwitchingDataSerializer" tooltip="lbcrypto::SchemeSwitchingDataSerializer"] "2" [label="lbcrypto::SchemeSwitchingDataDeserializer" tooltip="lbcrypto::SchemeSwitchingDataDeserializer"] "3" -> "1" [dir=forward tooltip="public-inheritance"] "2" -> "1" [dir=forward tooltip="public-inheritance"] }

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}
PublicKey<DCRTPoly> publicKey = {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"