com.ibm.crypto.pkcs11impl.provider
Class DHPKCS11ParameterGenerator
- java.lang.Object
-
- java.security.AlgorithmParameterGeneratorSpi
-
- com.ibm.crypto.pkcs11impl.provider.DHPKCS11ParameterGenerator
-
public final class DHPKCS11ParameterGenerator extends java.security.AlgorithmParameterGeneratorSpiThis 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 2048 bits.
- Version:
- 1.0, 18/1/2005
- See Also:
AlgorithmParameters,AlgorithmParameterSpec,DHParameters
-
-
Constructor Summary
Constructors Constructor and Description DHPKCS11ParameterGenerator(java.security.Provider provider)
-