Code review request for JEP-121

Valerie (Yu-Ching) Peng valerie.peng at oracle.com
Mon Jun 4 20:17:46 UTC 2012


Vinnie,

I am still reviewing the changes.
Just some quick comments and questions:
Your current changes have both PBES1 and PBES2 impl inside the PBECipherCore.java but yet there is
another new classPBES2Core.java  which seems to just delegate the calls to the internal PBECipherCore
object.

Have you considered splitting out the PBES2 impl from PBECipherCore into PBES2Core.java?
Maybe renaming PBECipherCore to PBES1Core.java so it's clear that it's PBES1 impl only.

Also, instead of encapsulating the PBEXXCore object and yet duplicating all the engineXXX methods
which simply delegate to the implXXX calls, why not just extending from a common parent which extends
the CipherSpi class and no need for the engineXXX methods for all children classes.

Thanks,
Valerie


On 06/01/12 11:18, Vincent Ryan wrote:
> Hello Valerie,
>
> Could you please review these changes for JEP-121:
>   http://cr.openjdk.java.net/~vinnie/6383200/webrev.00/
>
> Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20120604/c3e8c952/attachment.htm>


More information about the security-dev mailing list