Class KexManager

    • Method Detail

      • getOrWaitForConnectionInfo

        public ConnectionInfo getOrWaitForConnectionInfo​(int minKexCount)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getDefaultServerHostkeyAlgorithmList

        public static final java.lang.String[] getDefaultServerHostkeyAlgorithmList()
      • checkServerHostkeyAlgorithmsList

        public static final void checkServerHostkeyAlgorithmsList​(java.lang.String[] algos)
      • getDefaultKexAlgorithmList

        public static final java.lang.String[] getDefaultKexAlgorithmList()
      • checkKexAlgorithmList

        public static final void checkKexAlgorithmList​(java.lang.String[] algos)
      • handleMessage

        public void handleMessage​(byte[] msg,
                                  int msglen)
                           throws java.io.IOException
        Specified by:
        handleMessage in interface MessageHandler
        Throws:
        java.io.IOException
      • handleEndMessage

        public void handleEndMessage​(java.lang.Throwable cause)
                              throws java.io.IOException
        Description copied from interface: MessageHandler
        Called to inform that no more messages will be delivered.
        Specified by:
        handleEndMessage in interface MessageHandler
        Parameters:
        cause - For diagnosis, the reason that caused the transport to close down.
        Throws:
        java.io.IOException