com.sshtools.j2ssh.transport

Class SshMsgKexInit


public class SshMsgKexInit
extends SshMessage

Version:
$Revision: 1.25 $
Author:
$author$

Field Summary

protected static int
SSH_MSG_KEX_INIT

Constructor Summary

SshMsgKexInit()
Creates a new SshMsgKexInit object.
SshMsgKexInit(SshConnectionProperties props)
Creates a new SshMsgKexInit object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
String
createDelimString(List list)
String
getMessageName()
List
getSupportedCSComp()
List
getSupportedCSEncryption()
List
getSupportedCSMac()
List
getSupportedKex()
List
getSupportedPublicKeys()
List
getSupportedSCComp()
List
getSupportedSCEncryption()
List
getSupportedSCMac()
void
setSupportedPK(List pks)
String
toString()

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

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

Field Details

SSH_MSG_KEX_INIT

protected static final int SSH_MSG_KEX_INIT
Field Value:
20

Constructor Details

SshMsgKexInit

public SshMsgKexInit()
Creates a new SshMsgKexInit object.

SshMsgKexInit

public SshMsgKexInit(SshConnectionProperties props)
Creates a new SshMsgKexInit object.
Parameters:
props -

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 -

createDelimString

public String createDelimString(List list)
Parameters:
list -
Returns:

getMessageName

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

getSupportedCSComp

public List getSupportedCSComp()
Returns:

getSupportedCSEncryption

public List getSupportedCSEncryption()
Returns:

getSupportedCSMac

public List getSupportedCSMac()
Returns:

getSupportedKex

public List getSupportedKex()
Returns:

getSupportedPublicKeys

public List getSupportedPublicKeys()
Returns:

getSupportedSCComp

public List getSupportedSCComp()
Returns:

getSupportedSCEncryption

public List getSupportedSCEncryption()
Returns:

getSupportedSCMac

public List getSupportedSCMac()
Returns:

setSupportedPK

public void setSupportedPK(List pks)
Parameters:
pks -

toString

public String toString()
Returns:

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