Class DHG14

  • All Implemented Interfaces:
    KeyExchange

    public class DHG14
    extends AbstractDHG
    Deprecated.
    Replaced by DHG with DHGroups
    Diffie-Hellman key exchange with SHA-1 and Oakley Group 14 [RFC3526] (2048-bit MODP Group).

    DHG14 does not work with the default JCE implementation provided by Sun because it does not support 2048 bits encryption. It requires BouncyCastle to be used.

    • Constructor Detail

      • DHG14

        public DHG14()
        Deprecated.
    • Method Detail

      • initDH

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