You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by ezzat <ez...@hotmail.com> on 2007/12/01 14:31:50 UTC
how to encrypt and decrypt the msssages between server and client
hi ,
I have finished a server application
I want to encrypt all messages from server to--> client
and
decrypt all messages from client to my server .
can I put filter to this trafic
as :
[code]
SocketAcceptorConfig cfg = new SocketAcceptorConfig();
cfg.getFilterChain().addLast("crypt", new cryptFilter()); // cryptFilter
is class containes encrypt & decrypt code
[/code]
waiting yourr help
--
View this message in context: http://www.nabble.com/how-to-encrypt-and-decrypt-the-msssages-between-server-and-client-tf4928187s16868.html#a14105247
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.
Re: how to encrypt and decrypt the msssages between server and client
Posted by Niklas Therning <ni...@trillian.se>.
ezzat wrote:
> hi ,
> I have finished a server application
> I want to encrypt all messages from server to--> client
> and
> decrypt all messages from client to my server .
> can I put filter to this trafic
> as :
> [code]
> SocketAcceptorConfig cfg = new SocketAcceptorConfig();
> cfg.getFilterChain().addLast("crypt", new cryptFilter()); // cryptFilter
> is class containes encrypt & decrypt code
> [/code]
>
> waiting yourr help
>
>
Mina includes SSLFilter which encrypts/decrypts traffic between your
client and server. Maybe that would work for you?
/Niklas