RFR: 8325513: Export method for Cipher [v3]

Weijun Wang weijun at openjdk.org
Sat May 11 16:55:12 UTC 2024


On Fri, 10 May 2024 14:00:55 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Add `Cipher::export` API.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   change new method to non final

In fact, the original definition of export function returns a byte array. I choose the SecretKey return type here simply because it could be non extractable. I am now wondering if there should be also an exportData method.

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

PR Comment: https://git.openjdk.org/jdk/pull/18409#issuecomment-2105953527



More information about the security-dev mailing list