Percy++
A C++ implementation of Private Information Retrieval (PIR) protocols
|
Public Member Functions | |
RecursiveClientParams (const RecursiveParams *rparams, nservers_t num_servers=1, bool is_null=false) | |
const RecursiveParams * | recursive_params () const |
std::vector< const PercyClientParams * > | get_iterations () const |
const PercyClientParams * | get_iteration (nqueries_t index) const |
nqueries_t | depth () const |
Public Member Functions inherited from PercyClientParams | |
PercyClientParams (const PercyParams *params, nservers_t num_servers=1, bool is_null=false) | |
Constructor. More... | |
virtual | ~PercyClientParams () |
Destructor. More... | |
void | send (std::ostream &os, nservers_t sid) const |
Send parameters and sid to server to test compatibility. More... | |
bool | is_compatible (std::istream &is, nservers_t sid) const |
Test compatibility with a server. More... | |
nservers_t | num_servers () const |
Get the number of servers being queried. More... | |
void | print (std::ostream &os) const |
Prints the parameters in CSV form. More... | |
const PercyParams * | percy_params () const |
Get the protocol parameters. More... | |
bool | is_null () const |
Check if the client is a null client. More... | |
Protected Attributes | |
const RecursiveParams * | rparams |
std::vector< const PercyClientParams * > | iterations |
Protected Attributes inherited from PercyClientParams | |
const PercyParams * | params |
The protocol parameters. More... | |
nservers_t | _num_servers |
The number of servers being queried. More... | |
bool | null |
Whether or not the client a null client. More... | |