|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Message used to share the public key shares of the CryptoScheme. More...

Public Member Functions | |
| KeyShareMsg () | |
| Constructor used for Externalization. | |
| KeyShareMsg (K key, String sender) | |
| Constructor. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| K | getKey () |
| String | getSender () |
| String | toString () |
| Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable > | |
| MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2) | |
| Constructor. | |
| MessageWith2Payloads () | |
| Empty constructor. | |
| MessageWith2Payloads< T1, T2 > | clone () |
| T1 | getPayload1 () |
| void | setPayload1 (T1 payload1) |
| T2 | getPayload2 () |
| void | setPayload2 (T2 payload2) |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Message used to share the public key shares of the CryptoScheme.
| <K> | class used for PublicKeyShare of cryptoScheme |
| frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.KeyShareMsg | ( | ) |
Constructor used for Externalization.
| frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.KeyShareMsg | ( | K | key, |
| String | sender ) |
Constructor.
| key | the key to share |
| sender | a codename identifying the original sender of this message |
References frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.KEY_SHARE_TYPE, frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload1(), and frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload2().

| K frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.getKey | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by toString().

| String frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.getSender | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by toString().

| void frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References readExternal(), frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload1(), and frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.setPayload2().
Referenced by readExternal().

| String frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References getKey(), and getSender().

| void frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1(), and frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
