Template Class KeyPair

Template Parameter Order

  1. class Element

Class Documentation

template<class Element>
class lbcrypto::KeyPair

Public Functions

inline KeyPair(const PublicKey<Element> &a, const PrivateKey<Element> &b)
inline explicit KeyPair(PublicKeyImpl<Element> *a = nullptr, PrivateKeyImpl<Element> *b = nullptr)
inline bool good() const
inline bool is_allocated() const

Public Members

PublicKey<Element> publicKey
PrivateKey<Element> secretKey