Class InitialHandshakeFinalMessage
- java.lang.Object
-
- jadex.platform.service.security.handshake.BasicSecurityMessage
-
- jadex.platform.service.security.handshake.InitialHandshakeFinalMessage
-
public class InitialHandshakeFinalMessage extends BasicSecurityMessage
Final message in the initial handshake.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
chosencryptosuite
The chosen crypto suite.protected JadexVersion
jadexversion
The Jadex version of the sender.-
Fields inherited from class jadex.platform.service.security.handshake.BasicSecurityMessage
conversationid, messageid, sender
-
-
Constructor Summary
Constructors Constructor Description InitialHandshakeFinalMessage()
Creates the message.InitialHandshakeFinalMessage(IComponentIdentifier sender, java.lang.String conversationid, java.lang.String chosencryptosuite, JadexVersion jadexversion)
Creates the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getChosenCryptoSuite()
Gets the chosen crypto suite.JadexVersion
getJadexVersion()
Gets the Jadex version.void
setChosenCryptoSuite(java.lang.String chosencryptosuite)
Sets the chosen crypto suite.void
setJadexVersion(JadexVersion jadexversion)
Sets the Jadex version.-
Methods inherited from class jadex.platform.service.security.handshake.BasicSecurityMessage
getConversationId, getMessageId, getSender, setConversationId, setMessageId, setSender, toString
-
-
-
-
Field Detail
-
chosencryptosuite
protected java.lang.String chosencryptosuite
The chosen crypto suite.
-
jadexversion
protected JadexVersion jadexversion
The Jadex version of the sender.
-
-
Constructor Detail
-
InitialHandshakeFinalMessage
public InitialHandshakeFinalMessage()
Creates the message.
-
InitialHandshakeFinalMessage
public InitialHandshakeFinalMessage(IComponentIdentifier sender, java.lang.String conversationid, java.lang.String chosencryptosuite, JadexVersion jadexversion)
Creates the message.
-
-
Method Detail
-
getChosenCryptoSuite
public java.lang.String getChosenCryptoSuite()
Gets the chosen crypto suite.- Returns:
- The chosen crypto suite.
-
setChosenCryptoSuite
public void setChosenCryptoSuite(java.lang.String chosencryptosuite)
Sets the chosen crypto suite.- Parameters:
chosencryptosuite
- The chosen crypto suite.
-
getJadexVersion
public JadexVersion getJadexVersion()
Gets the Jadex version.- Returns:
- The Jadex version.
-
setJadexVersion
public void setJadexVersion(JadexVersion jadexversion)
Sets the Jadex version.- Parameters:
jadexversion
- The Jadex version to set.
-
-