Class LWEPublicKeyImpl
Defined in File lwe-publickey.h
Page Contents
Inheritance Relationships
Base Type
public lbcrypto::Serializable(Class Serializable)
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"]
}](../_images/graphviz-e07f43edeb694b46f6de9d501d81391d905afd70.png)
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"]
}](../_images/graphviz-e07f43edeb694b46f6de9d501d81391d905afd70.png)
Class that stores the LWE scheme public key; contains a vector.
Public Functions
-
LWEPublicKeyImpl() = default
-
inline LWEPublicKeyImpl(const std::vector<NativeVector> &A, const NativeVector &v)
-
inline LWEPublicKeyImpl(std::vector<NativeVector> &&A, NativeVector &&v) noexcept
-
inline LWEPublicKeyImpl(const LWEPublicKeyImpl &rhs)
-
inline LWEPublicKeyImpl(LWEPublicKeyImpl &&rhs) noexcept
-
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 SetA(std::vector<NativeVector> &&A) noexcept
-
inline void Setv(const NativeVector &v)
-
inline void Setv(NativeVector &&v) noexcept
-
inline uint32_t GetLength() const
-
inline NativeInteger GetModulus() const
-
inline bool operator==(const LWEPublicKeyImpl &other) const
-
inline bool operator!=(const LWEPublicKeyImpl &other) const
-
inline virtual std::string SerializedObjectName() const override
Public Static Functions
-
static inline uint32_t SerializedVersion()
-
LWEPublicKeyImpl() = default