com.sshtools.j2ssh.transport.kex

Class SshMsgKexDhInit


public class SshMsgKexDhInit
extends SshMessage

Version:
$Revision: 1.17 $
Author:
$author$

Field Summary

protected static int
SSH_MSG_KEXDH_INIT

Constructor Summary

SshMsgKexDhInit()
Creates a new SshMsgKexDhInit object.
SshMsgKexDhInit(BigInteger e)
Creates a new SshMsgKexDhInit object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
BigInteger
getE()
String
getMessageName()

Methods inherited from class com.sshtools.j2ssh.transport.SshMessage

constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray

Field Details

SSH_MSG_KEXDH_INIT

protected static final int SSH_MSG_KEXDH_INIT
Field Value:
30

Constructor Details

SshMsgKexDhInit

public SshMsgKexDhInit()
Creates a new SshMsgKexDhInit object.

SshMsgKexDhInit

public SshMsgKexDhInit(BigInteger e)
Creates a new SshMsgKexDhInit object.
Parameters:
e -

Method Details

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
            throws InvalidMessageException
Overrides:
constructByteArray in interface SshMessage
Parameters:
baw -

constructMessage

protected void constructMessage(ByteArrayReader bar)
            throws InvalidMessageException
Overrides:
constructMessage in interface SshMessage
Parameters:
bar -

getE

public BigInteger getE()
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SshMessage
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.