JDK-8241152 : Release Note: Improved PBES2 parameter encoding
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P4
  • Status: Resolved
  • Resolution: Withdrawn
  • Submitted: 2020-03-18
  • Updated: 2021-03-25
  • Resolved: 2021-03-25
Description
Improvements have been made to the decoding process for PBES2 parameters when encodings are supplied to the `AlgorithmParameters.init(byte[])` method.  The decoding process can now parse more KDF pseudorandom functions such as SHA512/224 and SHA512/256 and understands additional encryption schemes such as DES, DESede (Triple-DES), RC2-CBC and RC5-CBC.  In addition, a new Standard Name for PBES2 parameters may be supplied to the `AlgorithmParameters.getInstance()` method, `PBES2`, which does not require the user to know the underlying PRF and encryption scheme algorithms ahead of decoding.  Finally, this delivers a new `AlgorithmParameters` algorithm, `RC5`, to support PBES2 parameters that use RC5 as the encryption scheme.
Comments
Parent RFE was closed and redirected to JDK-8255680.
30-10-2020

Parent RFE is being closed and redirected to JDK-8255680. A new release note will need to be created once that work is completed.
30-10-2020