com.jscape.inet.ssh.transport.kex.messages
Class SshMsgKexDhInit
java.lang.Object
com.jscape.inet.ssh.transport.Message
com.jscape.inet.ssh.transport.kex.messages.SshMsgKexDhInit
public class SshMsgKexDhInit
- extends Message
Diffie-Hellman key exchange initVersions message: SSH_MSG_KEXDH_INIT.
- Version:
- 1.0
- Author:
- Alex Usun
Field Summary |
static int |
TYPE
Message type code. |
Method Summary |
java.math.BigInteger |
getE()
|
static SshMsgKexDhInit |
readFrom(java.io.InputStream in)
|
java.lang.String |
toString()
Returns the string representation of this message. |
void |
writeTo(java.io.OutputStream out)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final int TYPE
- Message type code.
- See Also:
- Constant Field Values
SshMsgKexDhInit
public SshMsgKexDhInit(java.math.BigInteger e)
- Parameters:
e
-
readFrom
public static SshMsgKexDhInit readFrom(java.io.InputStream in)
throws java.io.IOException
- Parameters:
in
-
- Returns:
- SshMsgKexDhInit instance
- Throws:
java.io.IOException
getE
public java.math.BigInteger getE()
- Returns:
- BigInteger instance
writeTo
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
- Overrides:
writeTo
in class Message
- Parameters:
out
-
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Returns the string representation of this message.
- Overrides:
toString
in class java.lang.Object
- Returns:
- the string representation of this message
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved