Re: Align SSLSocket and SSLEngine Javadocs

2018-08-27 Thread Xuelei Fan
Hi Simone, I see your point now. I filed a bug for the tracking: https://bugs.openjdk.java.net/browse/JDK-8209992 Thanks, Xuelei On 8/27/2018 7:22 AM, Simone Bordet wrote: Xuelei, On Mon, Aug 27, 2018 at 4:00 PM Xuelei Fan wrote: H Simone, There is no change for the SSLSocket.startH

Re: Align SSLSocket and SSLEngine Javadocs

2018-08-27 Thread Simone Bordet
Xuelei, On Mon, Aug 27, 2018 at 4:00 PM Xuelei Fan wrote: > > H Simone, > > There is no change for the SSLSocket.startHandshake() and > SSLEngine.beginHandshake() specification. They are can be used for new > handshake and key update. > > We want the specification independent from TLS versions a

Re: Align SSLSocket and SSLEngine Javadocs

2018-08-27 Thread Xuelei Fan
H Simone, There is no change for the SSLSocket.startHandshake() and SSLEngine.beginHandshake() specification. They are can be used for new handshake and key update. We want the specification independent from TLS versions as much as possible. An application developer only need to know the

Align SSLSocket and SSLEngine Javadocs

2018-08-27 Thread Simone Bordet
Hi, SSLSocket.startHandshake() and SSLEngine.beginHandshake() are similar in that they start the TLS handshake, but they can also be used after the TLS handshake. SSLSocket.startHandshake() Javadoc seems to be more generic, describing that the method may not only start a new handshake but also be