Or if this is too much, we can at least do the X509Extension part. If CertificateRequest is needed one day, we can create a new method Builder.certificateRequest() that returns it and deprecate the current request() method.
Or use certificateRequest() to return byte[] and save request() for the future. :-) --Max > On Dec 3, 2015, at 8:21 PM, larry mccay <larry.mc...@gmail.com> wrote: > > +1 :) > > On Thu, Dec 3, 2015 at 3:31 AM, Wang Weijun <weijun.w...@oracle.com> wrote: > I tried. > > It's quite easy to move the new X509CertificateBuilder class into > java.security.cert.X509Certificate as an inner class, but I still want to > make Extension and CertificateRequest better. ... > > All these sound straightforward, worth doing? > > Thanks > Max > > >