permaculture playing cards*
The moose likes Security and the fly likes Ciphers Suites in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Ciphers Suites in java" Watch "Ciphers Suites in java" New topic
Author

Ciphers Suites in java

Ashish Kirpan
Greenhorn

Joined: Jan 24, 2011
Posts: 22

I want to use Ciphers Suites in java program.
If you having any idea regarding how to add cipher suites in java sample java program then please help me.

Here is the actual scenario

I am using org.apache.commons.httpclient.HttpClient class to send the request to server over HTTPS connection.
The Client(My java program) must support below cipher suites for handshake
TLS_RSA_WITH_3DES_EDE_CBC_SHA (TLS) and SSL_RSA_WITH_3DES_EDE_CBC_SHA (SSL Version 3) .
Right now i am able to set only one cipher suite i.e. SSL_RSA_WITH_3DES_EDE_CBC_SHA (SSL Version 3)
but i dont know how to set TLS_RSA_WITH_3DES_EDE_CBC_SHA (TLS).

any help is appreciated
greg stark
Ranch Hand

Joined: Aug 10, 2006
Posts: 220
TLS_RSA_WITH_3DES_EDE_CBC_SHA and SSL_RSA_WITH_3DES_EDE_CBC_SHA are the same cipher suite, they are synonyms. The JSSE only lists the one but it works for both SSL v3 and TLS 1.0.


Nice to meet you.
Ashish Kirpan
Greenhorn

Joined: Jan 24, 2011
Posts: 22

Thanks Greg.
 
Don't get me started about those stupid light bulbs.
 
subject: Ciphers Suites in java