RFR: 8325513: Export method for Cipher

Sean Mullan mullan at openjdk.org
Fri May 10 13:02:33 UTC 2024


On Wed, 20 Mar 2024 20:37:46 GMT, Weijun Wang <weijun 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`.

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

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



More information about the security-dev mailing list