Class RLWECiphertextImpl

Inheritance Relationships

Base Type

Class Documentation

class lbcrypto::RLWECiphertextImpl : public lbcrypto::Serializable

Inheritence diagram for lbcrypto::RLWECiphertextImpl:

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

Collaboration diagram for lbcrypto::RLWECiphertextImpl:

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

Class that stores a RingGSW ciphertext; a two-dimensional vector of ring elements.

Public Functions

RLWECiphertextImpl() = default
inline explicit RLWECiphertextImpl(const std::vector<NativePoly> &elements)
inline RLWECiphertextImpl(const RLWECiphertextImpl &rhs)
inline RLWECiphertextImpl(RLWECiphertextImpl &&rhs) noexcept
inline RLWECiphertextImpl &operator=(const RLWECiphertextImpl &rhs)
inline RLWECiphertextImpl &operator=(RLWECiphertextImpl &&rhs) noexcept
inline const std::vector<NativePoly> &GetElements() const
inline std::vector<NativePoly> &GetElements()
inline void SetFormat(const Format format)
inline bool operator==(const RLWECiphertextImpl &other) const
inline bool operator!=(const RLWECiphertextImpl &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()