RFR: 8297878: KEM: Implementation
Xue-Lei Andrew Fan
xuelei at openjdk.org
Wed Apr 12 14:13:36 UTC 2023
On Fri, 31 Mar 2023 02:25:04 GMT, Weijun Wang <weijun at openjdk.org> wrote:
> The KEM API and DHKEM impl. Note that this PR uses new methods in https://github.com/openjdk/jdk/pull/13250.
src/java.base/share/classes/javax/crypto/KEMSpi.java line 107:
> 105: * @see KEM.Encapsulator
> 106: */
> 107: interface EncapsulatorSpi {
Is it really necessary to define a EncapsulatorSpi? It looks like an internal implementation for KEMSpi service, rather than a public individual interface that EncapsulatorSpi.getInstance() could be used.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13256#discussion_r1164195329
More information about the security-dev
mailing list