AEADUtil: Clarify, that we don't need a dedicated JCA/JCE implementation#2219
AEADUtil: Clarify, that we don't need a dedicated JCA/JCE implementation#2219vanitasvitae wants to merge 1 commit intobcgit:mainfrom
Conversation
|
Firstly, there's already a The purpose of the operator API is to allow a choice in where the backing cryptographic implementations come from. e.g. instead of In general, the JCA/JCE operators further delegate the implementation choice to the Provider configuration. For crypto that lacks a standard JCA API, there's not much point in having a JCA operator, which could essentially only use the BC provider anyway, and so less reason to use an operator at all. Anyway, I think a KDF API was just added in Java 25, so a JCA KDF operator is now possible, and so a suitable operator API should be added in due course. TL;DR: we actually do want a JCA implementation, in the form of a (new) KDF operator implementation, supporting the new Java 25 KDF API where possible. In the meantime it's OK to use a hardcoded implementation from |
|
Thanks for the clarification. I'll close this then :) |
Let me know if you think the reasoning given here does not apply.