Class KeyExchange

java.lang.Object
com.jcraft.jsch.KeyExchange

public abstract class KeyExchange extends Object
  • Field Details

  • Constructor Details

    • KeyExchange

      public KeyExchange()
  • Method Details

    • init

      public abstract void init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C) throws Exception
      Throws:
      Exception
    • next

      public abstract boolean next(Buffer buf) throws Exception
      Throws:
      Exception
    • getState

      public abstract int getState()
    • getKeyType

      public String getKeyType()
    • getKeyAlgorithName

      public String getKeyAlgorithName()
    • guess

      protected static String[] guess(Session session, byte[] I_S, byte[] I_C) throws Exception
      Throws:
      Exception
    • getFingerPrint

      public String getFingerPrint()
    • normalize

      protected byte[] normalize(byte[] secret)
    • verify

      protected boolean verify(String alg, byte[] K_S, int index, byte[] sig_of_H) throws Exception
      Throws:
      Exception