-
Enhancement
-
Resolution: Fixed
-
P4
-
8
-
b23
Two PBE classes in the SunJCE provider need to be refactored to simplify on-going maintenance:
jdk/src/share/classes/com/sun/crypto/provider/PBES2Core.java
jdk/src/share/classes/com/sun/crypto/provider/PKCS12PBECipherCore.java
Consolidate the parameter checks in the engineInit() method of PBES2Core.java.
Replace CipherCore with a CipherSpi in PKCS12PBECipherCore.java.
jdk/src/share/classes/com/sun/crypto/provider/PBES2Core.java
jdk/src/share/classes/com/sun/crypto/provider/PKCS12PBECipherCore.java
Consolidate the parameter checks in the engineInit() method of PBES2Core.java.
Replace CipherCore with a CipherSpi in PKCS12PBECipherCore.java.