Package org.drasyl.node.handler.crypto
Class KeyExchangeMessage
java.lang.Object
org.drasyl.node.handler.crypto.ArmMessage
org.drasyl.node.handler.crypto.KeyExchangeMessage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract KeyAgreementPublicKey
static KeyExchangeMessage
of
(io.netty.buffer.ByteBuf byteBuf) static KeyExchangeMessage
of
(KeyAgreementPublicKey sessionKey) void
writeBody
(io.netty.buffer.ByteBuf byteBuf) Methods inherited from class org.drasyl.node.handler.crypto.ArmMessage
fromApplication, getType, toByteBuf
-
Field Details
-
LENGTH
public static final int LENGTH- See Also:
-
-
Constructor Details
-
KeyExchangeMessage
public KeyExchangeMessage()
-
-
Method Details
-
getSessionKey
-
writeBody
public void writeBody(io.netty.buffer.ByteBuf byteBuf) - Specified by:
writeBody
in classArmMessage
-
of
-
of
public static KeyExchangeMessage of(io.netty.buffer.ByteBuf byteBuf) throws InvalidMessageFormatException - Throws:
InvalidMessageFormatException
-