On Fri, 10 May 2024 14:00:55 GMT, Weijun Wang <wei...@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

Why is the `algorithm` necessary for this new method?   Couldn't the new 
SecretKey take the algorithm from the original SecretKey stored in the Cipher 
object?

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

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

Reply via email to