RFR: 8308808: SunMSCAPI public keys returns internal key array [v3]

Sean Mullan mullan at openjdk.org
Thu Jun 15 18:12:05 UTC 2023


On Thu, 15 Jun 2023 17:22:53 GMT, Ben Perez <duke at openjdk.org> wrote:

>> Changed `getEncoded` for both EC and RSA to return a copy of the internal key array to avoid mutability issues.
>
> Ben Perez has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Removed unnecessary imports
>  - Removed unnecessary module in test. Catch null in getEncoded

test/jdk/sun/security/mscapi/EncodingMutability.java line 1:

> 1: /*

Missing Oracle/OpenJDK copyright. Just copy from another test and change date to 2023.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14425#discussion_r1231378389



More information about the security-dev mailing list