tags:

views:

174

answers:

0

I'd like to write an SSL adapter based on SSLEngine, built from a InputStream/OutputStream pair (standard java blocking I/O) potentially serving as a transport for authentication encrypted data. This adapter should itself give access to a corresponding pair of deciphered InputStream/OutputStream.

I've found few complete examples using java's SSLEngine on the Web : an article from onjava.com written by Nuno Santos and the SSLStreams source from the openjdk. Those examples are based on java NIO, adding complexity, particularly in the case of Santo's article.

Is there anyone knowing about the kind of example I'm looking for ?