|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
In MPC-DisCSP4, a message containing a vector of ElGamal-encrypted shares. More...

Public Member Functions | |
| EncrSharesMsg (PaillierInteger[] shares, PaillierPublicKey publicKey, int agentID, boolean step) | |
| Constructor. | |
| EncrSharesMsg () | |
| Empty constructor used for externalization. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| PaillierInteger[] | getShares () |
| PaillierPublicKey | getPublicKey () |
| int | getAgentID () |
| boolean | step () |
| String | toString () |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Static Public Attributes | |
| static final MessageType | ENCR_SHARES_MSG_TYPE = new MessageType ("MPC", "EncrShares") |
| The type of this message. | |
Private Attributes | |
| PaillierInteger[] | shares |
| The encrypted shares. | |
| PaillierPublicKey | publicKey |
| The public key used to encrypt. | |
| int | agentID |
| The index of the agent owning the shares. | |
| boolean | step |
| The step this message belongs to. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
In MPC-DisCSP4, a message containing a vector of ElGamal-encrypted shares.
| frodo2.algorithms.mpc_discsp.EncrSharesMsg.EncrSharesMsg | ( | PaillierInteger[] | shares, |
| PaillierPublicKey | publicKey, | ||
| int | agentID, | ||
| boolean | step ) |
Constructor.
| shares | the encrypted shares |
| publicKey | The public key used to encrypt |
| agentID | The index of the agent owning the shares |
| step | the step this message belongs to |
References agentID, ENCR_SHARES_MSG_TYPE, publicKey, shares, and step.
| frodo2.algorithms.mpc_discsp.EncrSharesMsg.EncrSharesMsg | ( | ) |
Empty constructor used for externalization.
References ENCR_SHARES_MSG_TYPE.
| int frodo2.algorithms.mpc_discsp.EncrSharesMsg.getAgentID | ( | ) |
References agentID.
Referenced by frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().
| PaillierPublicKey frodo2.algorithms.mpc_discsp.EncrSharesMsg.getPublicKey | ( | ) |
References publicKey.
Referenced by frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().
| PaillierInteger[] frodo2.algorithms.mpc_discsp.EncrSharesMsg.getShares | ( | ) |
References shares.
Referenced by frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().
| void frodo2.algorithms.mpc_discsp.EncrSharesMsg.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
References frodo2.algorithms.mpc_discsp.PaillierPublicKey.nsquare, and frodo2.algorithms.mpc_discsp.PaillierInteger.readExternal().

| boolean frodo2.algorithms.mpc_discsp.EncrSharesMsg.step | ( | ) |
| String frodo2.algorithms.mpc_discsp.EncrSharesMsg.toString | ( | ) |
Reimplemented from frodo2.communication.Message.
| void frodo2.algorithms.mpc_discsp.EncrSharesMsg.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
References frodo2.algorithms.mpc_discsp.PaillierInteger.writeExternal().

|
private |
The index of the agent owning the shares.
Referenced by EncrSharesMsg(), and getAgentID().
|
static |
The type of this message.
Referenced by EncrSharesMsg(), EncrSharesMsg(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.getMsgTypes(), frodo2.algorithms.mpc_discsp.MPC_DisWCSP4< V extends Addable< V > >.getMsgTypes(), and frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().
|
private |
The public key used to encrypt.
Referenced by EncrSharesMsg(), and getPublicKey().
|
private |
The encrypted shares.
Referenced by EncrSharesMsg(), and getShares().
|
private |
The step this message belongs to.
Referenced by EncrSharesMsg(), and frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().