FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare > Class Template Reference

Message used to share the public key shares of the CryptoScheme. More...

Inheritance diagram for frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >:

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
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.

Detailed Description

Message used to share the public key shares of the CryptoScheme.

Author
Eric Zbinden, Thomas Leaute
Parameters
<K>class used for PublicKeyShare of cryptoScheme

Constructor & Destructor Documentation

◆ KeyShareMsg() [1/2]

◆ KeyShareMsg() [2/2]

Member Function Documentation

◆ getKey()

K frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.getKey ( )
Returns
the key contained in this message

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().

Referenced by toString().

Here is the call graph for this function:

◆ getSender()

String frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.getSender ( )
Returns
the codename identifying the original sender of this message

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().

Referenced by toString().

Here is the call graph for this function:

◆ readExternal()

void frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException

◆ toString()

String frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.toString ( )

◆ writeExternal()

void frodo2.algorithms.dpop.privacy.KeyShareMsg< K extends CryptoScheme.PublicKeyShare >.writeExternal ( ObjectOutput out) throws IOException

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