RFR: 8158689: java.security.KeyPair should implement Destroyable

Anthony Scarpino ascarpino at openjdk.java.net
Sat Oct 23 00:53:59 UTC 2021


On Fri, 22 Oct 2021 23:50:38 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

> Hi,
> 
> I need a review of this change.  It makes KeyPair implement Destroyable and implements the methods to call the underlying privateKey.  It also sets the public and private key to 'final'.
> 
> The bug includes a CSR and Release Notes
> CSR: https://bugs.openjdk.java.net/browse/JDK-8275823
> RN: https://bugs.openjdk.java.net/browse/JDK-8275826

You can, it's just a multi-step process that should have been available from KeyPair in a single step process

-------------

PR: https://git.openjdk.java.net/jdk/pull/6089



More information about the security-dev mailing list