Template Function lbcrypto::Serial::Deserialize(CryptoContext<T>&, std::istream&, const SerType::SERBINARY&)

Function Documentation

template<typename T>
void lbcrypto::Serial::Deserialize(CryptoContext<T> &obj, std::istream &stream, const SerType::SERBINARY&)

Deserialize for a CryptoContext (that is, a shared pointer to a CryptoContextImpl OpenFHE doesn’t want multiple copies of the same crypto context floating around, and it enforces that here

Parameters
  • obj – - the target for the deserialization

  • stream – - where the serialization is coming from

  • sertype – - BINARY serialization type