mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Therning <nik...@trillian.se>
Subject Re: how to encrypt and decrypt the msssages between server and client
Date Mon, 03 Dec 2007 08:26:05 GMT
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


Mime
View raw message