35 namespace SecureExtremumSelection {
46 paillierCryptoProvider(paillierPublicKey),
47 dgkCryptoProvider(dgkPublicKey),
PaillierCiphertext Ciphertext
Provide public access to the T_Ciphertext type.
Definition of class Server.
Secure Extremum Selection Server.
const std::shared_ptr< SecureExtremumSelectionServer< SecureComparisonServer, SecureComparisonClient > > secureExtremumSelectionServer
A reference to the SecureExtremumSelectionServer.
The public key container structure for the Dgk cryptosystem.
Definition of class Client.
std::weak_ptr< const Client > client
A reference to the Client.
Secure Comparison Server.
void SetClient(const std::shared_ptr< const Client > &client)
Sets a reference to the Privacy Service Provider.
Server(const PaillierPublicKey &paillierPublicKey, const DgkPublicKey &dgkPublicKey)
Constructor.
static const std::string configurationPath
Service Provider configuration path.
Paillier::Ciphertext ComputeMaximum(std::vector< Paillier::Ciphertext > &input) const
Secure maximum evaluation.
const std::shared_ptr< SecureExtremumSelectionServer< SecureComparisonServer, SecureComparisonClient > > & GetSecureExtremumSelectionServer() const
Getter for this->secureExtremumSelectionServer.
Secure Comparison Client.
Paillier::Ciphertext ComputeMinimum(std::vector< Paillier::Ciphertext > &input) const
Secure minimum evaluation.
The public key container structure for the Paillier cryptosystem.