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.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 2048 bits.

    Version:
    1.0, 18/1/2005
    See Also:
    AlgorithmParameters, AlgorithmParameterSpec, DHParameters
    • 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)

© Portions Copyright 2003, 2017 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2017, Oracle and/or its affiliates. All rights reserved.