Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8295425 Match the default priv exp length between SunPKCS11 and other JDK providers
  3. JDK-8303414

Release Note: SunPKCS11 Provider Now Uses the Same DH Private Exponent Length as Other JDK Providers

XMLWordPrintable

      When initializing the DH `KeyPairGenerator` implementation of the SunPKCS11 provider with the `keysize` argument, it looks up the default DH parameters, including the default private exponent length used by other JDK providers, to initialize the underlying native PKCS11 implementation. If the `KeyPairGenerator` implementation is initialized with the `DHParameterSpec` object having a negative private exponent length, this invalid negative value will also be overridden with a default value matching the DH prime size.

            valeriep Valerie Peng
            valeriep Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: