On Tue, 2007-07-03 at 20:48 +0800, Zhu Zhong wrote: > Hi all, > > I'm a newbie to httpclient & SSL. Could any of you > help me with this quesiton? I'm trying to get > httpclient to use only SSL_RSA_WITH_3DES_EDE_CBC_SHA? > > Thank you! > > Zhu. >
Zhu, After having created an instance of SSLSocket but before the handshake is attempted one can adjust the suite of enabled ciphers by using this method http://java.sun.com/j2se/1.4.2/docs/api/javax/net/ssl/SSLSocket.html#setEnabledCipherSuites(java.lang.String[]) Hope this helps Oleg > > ___________________________________________________________ > 抢注雅虎免费邮箱3.5G容量,20M附件! > http://cn.mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
