Sungwon Jung ha scritto:
Thanks Francesca Milan!

It's good.
Do you know server example?


On 9/6/07, Francesca Milan <[EMAIL PROTECTED]> wrote:
Sungwon Jung ha scritto:
Hello. I'm using MINA 1.1.2.

I'm novice about ssl programming.
so I have question.

how can I find ssl programming examples by Java.
(except Echo server  Low-level I/O and SSL  Server  in Mina site)

Thank you.

Hi!

Here there's an example ;-)
http://www.koders.com/java/fidA4E971B1AEAACFA0D619DC34AEE9F69773681D98.aspx?s=mina+ssl
...but in thise site you can find more!

I'sorry for my terrible english :-/
The ssl server source code is a little bit different...
   SSLContext sslContext = BogusSSLContextFactory.getInstance(false);
   ...
   sslFilter.setUseClientMode(true);
become:
    SSLContext sslContext = BogusSSLContextFactory.getInstance(true);
   sslFilter.setUseClientMode(false);

See this source code http://www.koders.com/java/fid67883C579BCE9361C018E01F1751DD780CE72038.aspx?s=BogusSSLContextFactory
and the mina SSLFilter javadoc. ;-)


Reply via email to