com.sshtools.j2ssh.transport.kex
Class SshMsgKexDhReply

java.lang.Object
  extended bycom.sshtools.j2ssh.transport.SshMessage
      extended bycom.sshtools.j2ssh.transport.kex.SshMsgKexDhReply

public class SshMsgKexDhReply
extends SshMessage

DOCUMENT ME!


Field Summary
protected static int SSH_MSG_KEXDH_REPLY
          DOCUMENT ME!
 
Constructor Summary
SshMsgKexDhReply()
          Creates a new SshMsgKexDhReply object.
SshMsgKexDhReply(byte[] hostKey, java.math.BigInteger f, byte[] signature)
          Creates a new SshMsgKexDhReply object.
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
protected  void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 java.math.BigInteger getF()
          DOCUMENT ME!
 byte[] getHostKey()
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 byte[] getSignature()
          DOCUMENT ME!
 
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage
fromByteArray, getMessageId, getMessageId, toByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_MSG_KEXDH_REPLY

protected static final int SSH_MSG_KEXDH_REPLY
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshMsgKexDhReply

public SshMsgKexDhReply(byte[] hostKey,
                        java.math.BigInteger f,
                        byte[] signature)
Creates a new SshMsgKexDhReply object.

Parameters:
hostKey - DOCUMENT ME!
f - DOCUMENT ME!
signature - DOCUMENT ME!

SshMsgKexDhReply

public SshMsgKexDhReply()
Creates a new SshMsgKexDhReply object.

Method Detail

getF

public java.math.BigInteger getF()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getHostKey

public byte[] getHostKey()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMessageName

public java.lang.String getMessageName()
DOCUMENT ME!

Specified by:
getMessageName in class SshMessage
Returns:
DOCUMENT ME!

getSignature

public byte[] getSignature()
DOCUMENT ME!

Returns:
DOCUMENT ME!

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
                           throws InvalidMessageException
DOCUMENT ME!

Specified by:
constructByteArray in class SshMessage
Parameters:
baw - DOCUMENT ME!
Throws:
InvalidMessageException - DOCUMENT ME!

constructMessage

protected void constructMessage(ByteArrayReader bar)
                         throws InvalidMessageException
DOCUMENT ME!

Specified by:
constructMessage in class SshMessage
Parameters:
bar - DOCUMENT ME!
Throws:
InvalidMessageException - DOCUMENT ME!