答复: Asynchronous IO in SSL
bradford.wetmore at oracle.com
Thu Apr 12 10:40:22 PDT 2012
security-dev is not a general purpose mailing list for Java
Programming/usage questions, it's for the discussion of development of
A couple pointers/suggestions:
In the JDK distribution, there is some sample code which shows
NIO/SSLEngine working together.
The majority of the SSLEngine code is ChannelIOSecure.java.
It is not production quality, but gives some ideas of how it could be used.
Please see the SSLEngine section in the JSSE documentation.
Also, please check the user forums for JSSE:
On 4/12/2012 2:54 AM, lixiangfeng wrote:
> Thanks your reply.
> I find some description in this PPT,it can help me to write ssl/tls
> implements use sslengine and aio.
> Is there some exsample and test code can show me how to use sslengine
> with aio? I think ,oracle (or openjdk group should test their api use
> java code. It is useable to me.
> Is their anyone can help me?
> *发件人:*Xuelei Fan [mailto:Xuelei.Fan at Oracle.Com]
> *主题:*Re: Asynchronous IO in SSL
> On Mar 31, 2012, at 4:26 PM, lixiangfeng <lixiangfeng at infosec.com.cn
> <mailto:lixiangfeng at infosec.com.cn>> wrote:
> I use JDK7,use SSL ServerSocket to accept a SSL Socket
> Connection,Can I use *Asynchronous
> I am afraid that It is not the normal approach to use asynchronous IO.
> The server socket may be the bottleneck. You may be interested in the
> which talked about how to use NIO2 and SSL together.
More information about the security-dev