com.ibm.crypto.pkcs11impl.provider
Class DHPKCS11ParameterGenerator

java.lang.Object
  extended by java.security.AlgorithmParameterGeneratorSpi
      extended by com.ibm.crypto.pkcs11impl.provider.DHPKCS11ParameterGenerator

public final class DHPKCS11ParameterGenerator
extends java.security.AlgorithmParameterGeneratorSpi

This class generates parameters for the Diffie-Hellman algorithm. The parameters are a prime, a base, and optionally the length in bits of the private value.

The Diffie-Hellman parameter generation accepts the size in bits of the prime modulus and the size in bits of the random exponent as input. The size of the prime modulus defaults to 1024 bits.

Version:
1.0, 18/1/2005
See Also:
AlgorithmParameters, AlgorithmParameterSpec, DHParameters

Constructor Summary
DHPKCS11ParameterGenerator(java.security.Provider provider)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHPKCS11ParameterGenerator

public DHPKCS11ParameterGenerator(java.security.Provider provider)