Class LWESwitchingKeyImpl

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::LWESwitchingKeyImpl : public lbcrypto::Serializable

Inheritence diagram for lbcrypto::LWESwitchingKeyImpl:

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

Collaboration diagram for lbcrypto::LWESwitchingKeyImpl:

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

Class that stores the LWE scheme switching key.

Public Functions

LWESwitchingKeyImpl() = default
inline LWESwitchingKeyImpl(const std::vector<std::vector<std::vector<NativeVector>>> &keyA, const std::vector<std::vector<std::vector<NativeInteger>>> &keyB)
inline LWESwitchingKeyImpl(std::vector<std::vector<std::vector<NativeVector>>> &&keyA, std::vector<std::vector<std::vector<NativeInteger>>> &&keyB) noexcept
inline LWESwitchingKeyImpl(const LWESwitchingKeyImpl &rhs)
inline LWESwitchingKeyImpl(LWESwitchingKeyImpl &&rhs) noexcept
inline LWESwitchingKeyImpl &operator=(const LWESwitchingKeyImpl &rhs)
inline LWESwitchingKeyImpl &operator=(LWESwitchingKeyImpl &&rhs) noexcept
inline const std::vector<std::vector<std::vector<NativeVector>>> &GetElementsA() const
inline const std::vector<std::vector<std::vector<NativeInteger>>> &GetElementsB() const
inline void SetElementsA(const std::vector<std::vector<std::vector<NativeVector>>> &keyA)
inline void SetElementsB(const std::vector<std::vector<std::vector<NativeInteger>>> &keyB)
inline void SetElementsA(std::vector<std::vector<std::vector<NativeVector>>> &&keyA) noexcept
inline void SetElementsB(std::vector<std::vector<std::vector<NativeInteger>>> &&keyB) noexcept
inline bool operator==(const LWESwitchingKeyImpl &other) const
inline bool operator!=(const LWESwitchingKeyImpl &other) const
template<class Archive>
inline void save(Archive &ar, std::uint32_t const version) const
template<class Archive>
inline void load(Archive &ar, std::uint32_t const version)
inline virtual std::string SerializedObjectName() const override

Public Static Functions

static inline uint32_t SerializedVersion()