RFR: 8325513: Export method for Cipher

Weijun Wang weijun at openjdk.org
Fri May 10 13:02:33 UTC 2024


On Fri, 10 May 2024 12:58:06 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Add `Cipher::export` API.
>
> src/java.base/share/classes/javax/crypto/Cipher.java line 2625:
> 
>> 2623:      * @since 23
>> 2624:      */
>> 2625:     public final SecretKey export(byte[] context, String algorithm, int length) {
> 
> Change name to `exportKey`.

OK.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18409#discussion_r1596722656



More information about the security-dev mailing list