Class LWEPublicKeyImpl

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::LWEPublicKeyImpl : public lbcrypto::Serializable

Inheritence diagram for lbcrypto::LWEPublicKeyImpl:

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

Collaboration diagram for lbcrypto::LWEPublicKeyImpl:

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

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

Public Functions

LWEPublicKeyImpl() = default
inline explicit LWEPublicKeyImpl(const std::vector<NativeVector> &A, const NativeVector &v)
inline LWEPublicKeyImpl(LWEPublicKeyImpl &&rhs) noexcept
inline LWEPublicKeyImpl(const LWEPublicKeyImpl &rhs)
inline LWEPublicKeyImpl &operator=(const LWEPublicKeyImpl &rhs)
inline LWEPublicKeyImpl &operator=(LWEPublicKeyImpl &&rhs) noexcept
inline const std::vector<NativeVector> &GetA() const
inline const NativeVector &Getv() const
inline void SetA(const std::vector<NativeVector> &A)
inline void Setv(const NativeVector &v)
inline uint32_t GetLength() const
inline const NativeInteger &GetModulus() const
inline bool operator==(const LWEPublicKeyImpl &other) const
inline bool operator!=(const LWEPublicKeyImpl &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()