Class SshMsgKexInit

java.lang.Object
com.sshtools.j2ssh.transport.SshMessage
com.sshtools.j2ssh.transport.SshMsgKexInit

public class SshMsgKexInit extends SshMessage
Version:
$Revision: 1.25 $
Author:
$author$
  • Field Details

  • Constructor Details

    • SshMsgKexInit

      public SshMsgKexInit()
      Creates a new SshMsgKexInit object.
    • SshMsgKexInit

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

    • getMessageName

      public String getMessageName()
      Description copied from class: SshMessage

      Returns the name of the message implementation for debugging purposes.

      Specified by:
      getMessageName in class SshMessage
      Returns:
    • getSupportedCSComp

      public List getSupportedCSComp()
      Returns:
    • getSupportedCSEncryption

      public List getSupportedCSEncryption()
      Returns:
    • getSupportedCSMac

      public List getSupportedCSMac()
      Returns:
    • getSupportedKex

      public List getSupportedKex()
      Returns:
    • setSupportedPK

      public void setSupportedPK(List pks)
      Parameters:
      pks -
    • getSupportedPublicKeys

      public List getSupportedPublicKeys()
      Returns:
    • getSupportedSCComp

      public List getSupportedSCComp()
      Returns:
    • getSupportedSCEncryption

      public List getSupportedSCEncryption()
      Returns:
    • getSupportedSCMac

      public List getSupportedSCMac()
      Returns:
    • createDelimString

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

      public String toString()
      Overrides:
      toString in class Object
      Returns:
    • constructByteArray

      protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
      Description copied from class: SshMessage

      Message implementations should implement this method, writing the data as exected in the transport protocol message format.

      Specified by:
      constructByteArray in class SshMessage
      Parameters:
      baw -
      Throws:
      InvalidMessageException
    • constructMessage

      protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
      Description copied from class: SshMessage

      Message implementation should implement this method, reading the data as expected in the transport protocol message format.

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