Class InitialHandshakeReplyMessage
- java.lang.Object
-
- jadex.platform.service.security.handshake.BasicSecurityMessage
-
- jadex.platform.service.security.handshake.InitialHandshakeReplyMessage
-
public class InitialHandshakeReplyMessage extends BasicSecurityMessage
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringchosencryptosuiteThe chosen crypto suite.protected JadexVersionjadexversionThe Jadex version of the sender.-
Fields inherited from class jadex.platform.service.security.handshake.BasicSecurityMessage
conversationid, messageid, sender
-
-
Constructor Summary
Constructors Constructor Description InitialHandshakeReplyMessage()Creates the message.InitialHandshakeReplyMessage(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.StringgetChosenCryptoSuite()Gets the chosen crypto suite.JadexVersiongetJadexVersion()Gets the Jadex version.voidsetChosenCryptoSuite(java.lang.String chosencryptosuite)Sets the chosen crypto suite.voidsetJadexVersion(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
-
InitialHandshakeReplyMessage
public InitialHandshakeReplyMessage()
Creates the message.
-
InitialHandshakeReplyMessage
public InitialHandshakeReplyMessage(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.
-
-