Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
libzeth::srs_mpc_phase2_response< ppT > Class Template Reference

#include <phase2.hpp>

Public Member Functions

 srs_mpc_phase2_response (srs_mpc_phase2_accumulator< ppT > &&new_accumulator, srs_mpc_phase2_publickey< ppT > &&publickey)
 
bool operator== (const srs_mpc_phase2_response< ppT > &other) const
 
bool is_well_formed () const
 
void write (std::ostream &out) const
 

Static Public Member Functions

static srs_mpc_phase2_response< ppT > read (std::istream &in)
 

Public Attributes

srs_mpc_phase2_accumulator< ppT > new_accumulator
 
srs_mpc_phase2_publickey< ppT > publickey
 

Detailed Description

template<typename ppT>
class libzeth::srs_mpc_phase2_response< ppT >

Response produced by participant in Phase2 of the SRS generation MPC. Implements the interfaces of StructuredT and ReadableT templates.

Definition at line 128 of file phase2.hpp.

Constructor & Destructor Documentation

◆ srs_mpc_phase2_response()

template<typename ppT >
libzeth::srs_mpc_phase2_response< ppT >::srs_mpc_phase2_response ( srs_mpc_phase2_accumulator< ppT > &&  new_accumulator,
srs_mpc_phase2_publickey< ppT > &&  publickey 
)

Member Function Documentation

◆ is_well_formed()

template<typename ppT >
bool libzeth::srs_mpc_phase2_response< ppT >::is_well_formed ( ) const

◆ operator==()

template<typename ppT >
bool libzeth::srs_mpc_phase2_response< ppT >::operator== ( const srs_mpc_phase2_response< ppT > &  other) const

◆ read()

template<typename ppT >
static srs_mpc_phase2_response<ppT> libzeth::srs_mpc_phase2_response< ppT >::read ( std::istream &  in)
static

◆ write()

template<typename ppT >
void libzeth::srs_mpc_phase2_response< ppT >::write ( std::ostream &  out) const

Member Data Documentation

◆ new_accumulator

template<typename ppT >
srs_mpc_phase2_accumulator<ppT> libzeth::srs_mpc_phase2_response< ppT >::new_accumulator

Definition at line 131 of file phase2.hpp.

◆ publickey

template<typename ppT >
srs_mpc_phase2_publickey<ppT> libzeth::srs_mpc_phase2_response< ppT >::publickey

Definition at line 132 of file phase2.hpp.


The documentation for this class was generated from the following file: