For new set of service APIs, it may be worthy of considering to simplify the design and avoid duplicated SPIs by using java.util.ServiceLoade.
Xuelei > On Jan 25, 2023, at 11:24 AM, Wei-Jun Wang <weijun.w...@oracle.com> wrote: > > Hi All, > > We are working on providing a new API for KEM (Key Encapsulation Mechanism). > There will be a KEM class for users along with a KEMSpi class for security > providers, and several other parameter and exception classes. > > You can read the draft JEP at https://openjdk.org/jeps/8301034. > > Feel free to add any comment here. > > Thanks, > Max >