Class DH


  • public class DH
    extends DHBase
    Diffie-Hellman key generator.
    • Constructor Summary

      Constructors 
      Constructor Description
      DH()  
    • Method Summary

      Modifier and Type Method Description
      java.math.BigInteger getG()  
      java.math.BigInteger getP()  
      void init​(java.security.spec.AlgorithmParameterSpec params, Factory<Random> randomFactory)  
      • Methods inherited from class net.schmizz.sshj.transport.kex.DHBase

        getE, getK
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DH

        public DH()
    • Method Detail

      • init

        public void init​(java.security.spec.AlgorithmParameterSpec params,
                         Factory<Random> randomFactory)
                  throws java.security.GeneralSecurityException
        Specified by:
        init in class DHBase
        Throws:
        java.security.GeneralSecurityException
      • getP

        public java.math.BigInteger getP()
      • getG

        public java.math.BigInteger getG()