Class LWEPrivateKeyImpl

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::LWEPrivateKeyImpl : public lbcrypto::Serializable

Inheritence diagram for lbcrypto::LWEPrivateKeyImpl:

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::LWEPrivateKeyImpl" tooltip="lbcrypto::LWEPrivateKeyImpl" fillcolor="#BFBFBF"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

Collaboration diagram for lbcrypto::LWEPrivateKeyImpl:

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::LWEPrivateKeyImpl" tooltip="lbcrypto::LWEPrivateKeyImpl" fillcolor="#BFBFBF"]
    "1" -> "2" [dir=forward tooltip="public-inheritance"]
}

Class that stores the LWE scheme secret key; contains a vector.

Public Functions

LWEPrivateKeyImpl() = default
inline LWEPrivateKeyImpl(const NativeVector &s)
inline LWEPrivateKeyImpl(NativeVector &&s) noexcept
inline LWEPrivateKeyImpl(const LWEPrivateKeyImpl &rhs)
inline LWEPrivateKeyImpl(LWEPrivateKeyImpl &&rhs) noexcept
inline LWEPrivateKeyImpl &operator=(const LWEPrivateKeyImpl &rhs)
inline LWEPrivateKeyImpl &operator=(LWEPrivateKeyImpl &&rhs) noexcept
inline const NativeVector &GetElement() const
inline void SetElement(const NativeVector &s)
inline void SetElement(NativeVector &&s) noexcept
inline uint32_t GetLength() const
inline NativeInteger GetModulus() const
inline bool operator==(const LWEPrivateKeyImpl &other) const
inline bool operator!=(const LWEPrivateKeyImpl &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()