Class DHG1

  • All Implemented Interfaces:
    KeyExchange

    public class DHG1
    extends AbstractDHG
    Deprecated.
    Replaced by DHG with DHGroups
    Diffie-Hellman key exchange with SHA-1 and Oakley Group 2 [RFC2409] (1024-bit MODP Group).
    See Also:
    RFC 4253 TODO refactor away the (unneeded) class
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DHG1.Factory
      Deprecated.
      Named factory for DHG1 key exchange
    • Constructor Summary

      Constructors 
      Constructor Description
      DHG1()
      Deprecated.
       
    • Method Summary

      Modifier and Type Method Description
      protected void initDH​(DHBase dh)
      Deprecated.
       
      • Methods inherited from class net.schmizz.sshj.transport.kex.AbstractDH

        getK
      • Methods inherited from class java.lang.Object

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

      • DHG1

        public DHG1()
        Deprecated.
    • Method Detail

      • initDH

        protected void initDH​(DHBase dh)
                       throws java.security.GeneralSecurityException
        Deprecated.
        Specified by:
        initDH in class AbstractDHG
        Throws:
        java.security.GeneralSecurityException