Class DiffieHellmanKeyPairGeneratorHybrid

java.lang.Object
java.security.KeyPairGeneratorSpi
java.security.KeyPairGenerator
com.ibm.crypto.ibmjcehybrid.provider.DiffieHellmanKeyPairGeneratorHybrid

public final class DiffieHellmanKeyPairGeneratorHybrid extends KeyPairGenerator
This class is a facade for the generator of Diffie-Hellman key pairs.

This key pair generator may be initialized in two different ways:

  • By providing the size in bits of the prime modulus. This will be used to create a prime modulus and base generator, which will then be used to create the Diffie-Hellman key pair. The default size of the prime modulus is 1024 bits.
  • By providing a prime modulus and base generator.
  • Field Details

    • debug

      protected static com.ibm.misc.Debug debug
      The debug object, null if not instantiated at JVM startup.
  • Constructor Details

    • DiffieHellmanKeyPairGeneratorHybrid

      public DiffieHellmanKeyPairGeneratorHybrid()
      Creates a new instance of the DiffieHellmanKeyPairGeneratorHybrid class.
  • Method Details